movement: prevent invalid tick frequency from breaking scheduled tasks

This commit is contained in:
Joey Castillo
2022-02-12 22:19:01 -05:00
parent 5dac14974c
commit b8cb6f3bcf
2 changed files with 7 additions and 4 deletions

View File

@@ -274,8 +274,6 @@ void movement_move_to_face(uint8_t watch_face_index);
void movement_move_to_next_face(void);
void movement_illuminate_led(void);
// note: requesting a tick frequency of 0 will break any scheduled background tasks.
// this will be fixed in a future refactor of the tick mechanism.
void movement_request_tick_frequency(uint8_t freq);
// note: watch faces can only schedule a background task when in the foreground, since