Merge PR #394 - keep LED lit while buttons held
Keeps the LED turned on while the user is interacting with the watch. Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/394
This commit is contained in:
@@ -89,6 +89,7 @@ void main_loop_sleep(uint32_t ms) {
|
||||
main_loop_set_sleeping(true);
|
||||
emscripten_sleep(ms);
|
||||
main_loop_set_sleeping(false);
|
||||
animation_frame_id = ANIMATION_FRAME_ID_INVALID;
|
||||
}
|
||||
|
||||
bool main_loop_is_sleeping(void) {
|
||||
|
||||
Reference in New Issue
Block a user