Skip to content

Conversation

kieranc
Copy link

@kieranc kieranc commented Mar 10, 2021

If the button is held down to reboot the watch and not released after the reboot, the device can enter recovery mode unintentionally. This check aims to ignore the button if it is held for the entirety of the 5 second delay, implying it was held before the device started to boot and should be ignored.

I'm not sure if the count will be exactly 3000 * 64 * 5 in this situation, or if there's a better way to address this, or if the secondary condition is needed for the restore_factory if statement... But I made a PR anyway despite a profound lack of certainty!

kieranc added 2 commits March 10, 2021 15:31
If the button is held down to reboot the watch and not released after the reboot, the device can enter recovery mode unintentionally. This check aims to ignore the button if it is held for the entirety of the 5 second delay, implying it was held before the device started to boot and should be ignored.
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