Skip to content

Patch infinite loop in flush code#1

Open
kylesayrs wants to merge 1 commit intoDFRobot:masterfrom
kylesayrs:master
Open

Patch infinite loop in flush code#1
kylesayrs wants to merge 1 commit intoDFRobot:masterfrom
kylesayrs:master

Conversation

@kylesayrs
Copy link
Copy Markdown

Previously, the DFRobot_IICSerial::flush function would read fsr once then get caught in an infinite while loop, potentially triggering WDT. This patch fixes that by continuously reading with a configurable timeout.

@kylesayrs kylesayrs changed the title Patch unfinished flush code Patch infinite loop in flush code Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant