summaryrefslogtreecommitdiffstats
path: root/movement/movement.c
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-11-28 17:17:51 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2021-11-28 17:17:51 -0500
commit83a9dd8a32c717eb229c4fd89f0811823ac059f0 (patch)
treeaec2f71b3fad68019f08702d8198f21ad95ab92b /movement/movement.c
parentc8e21a1957bab9c3c548c27a204eaf76d026c942 (diff)
downloadSensor-Watch-83a9dd8a32c717eb229c4fd89f0811823ac059f0.tar.gz
Sensor-Watch-83a9dd8a32c717eb229c4fd89f0811823ac059f0.tar.bz2
Sensor-Watch-83a9dd8a32c717eb229c4fd89f0811823ac059f0.zip
movement: these durations don't need to be 32-bit ints
Diffstat (limited to 'movement/movement.c')
-rw-r--r--movement/movement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/movement.c b/movement/movement.c
index 2c8169b9..ac165094 100644
--- a/movement/movement.c
+++ b/movement/movement.c
@@ -8,7 +8,7 @@
movement_state_t movement_state;
void * watch_face_contexts[MOVEMENT_NUM_FACES];
const int32_t movement_le_inactivity_deadlines[8] = {INT_MAX, 3600, 7200, 21600, 43200, 86400, 172800, 604800};
-const int32_t movement_timeout_inactivity_deadlines[4] = {60, 120, 300, 1800};
+const int16_t movement_timeout_inactivity_deadlines[4] = {60, 120, 300, 1800};
movement_event_t event;
const int16_t movement_timezone_offsets[] = {