This PR stops the microcontroller from being able to enter sleep mode while debouncing, which seemed like the culprit of the softbrick.
Another user and I got the softbrick issue with the first PR within 4 weeks of using it. This change has been been used by that other user and myself for over 2 months without issue.
https://github.com/joeycastillo/Sensor-Watch/pull/437, was the original PR of this. However, it had a bug that would cause the watch to get softbricked.
This PR stops the microcontroller from being able to enter sleep mode while debouncing, which seemed like the culprit of the softbrick.
Another user and I got the softbrick issue with the first PR within 4 weeks of using it. This change has been been used by that other user and myself for over 2 months without issue.