movement: first crack at background tasks API

This commit is contained in:
Joey Castillo
2021-10-23 17:55:19 -04:00
parent ee1b3c8780
commit 8475ffcd7a
4 changed files with 41 additions and 13 deletions

View File

@@ -167,6 +167,9 @@ typedef struct {
uint8_t mode_down_timestamp;
uint8_t alarm_down_timestamp;
// background task handling
bool needs_background_tasks_handled;
// low energy mode countdown
int32_t le_mode_ticks;