diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-10-23 17:55:19 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-10-23 17:55:19 -0400 |
commit | 8475ffcd7aaebcbf17c7188ef96ce01a9730e9b3 (patch) | |
tree | dd1a12d5a1a00884c50ff4e8ac472d26764855f3 /movement/movement.h | |
parent | ee1b3c8780c5573a11cdd21620243ef4b0bd8488 (diff) | |
download | Sensor-Watch-8475ffcd7aaebcbf17c7188ef96ce01a9730e9b3.tar.gz Sensor-Watch-8475ffcd7aaebcbf17c7188ef96ce01a9730e9b3.tar.bz2 Sensor-Watch-8475ffcd7aaebcbf17c7188ef96ce01a9730e9b3.zip |
movement: first crack at background tasks API
Diffstat (limited to 'movement/movement.h')
-rw-r--r-- | movement/movement.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/movement/movement.h b/movement/movement.h index e8bf9247..cb162b95 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -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; |