diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-10-19 13:33:11 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-10-19 13:46:25 -0400 |
commit | 75be6219142a7333fb62ac91fb6abaaf648077e4 (patch) | |
tree | 018f832b95fd36057e74697848bb4f588a9c28b2 /movement/movement.h | |
parent | 52c5747d2e873d4946d211c548c03498b72c1fb5 (diff) | |
download | Sensor-Watch-75be6219142a7333fb62ac91fb6abaaf648077e4.tar.gz Sensor-Watch-75be6219142a7333fb62ac91fb6abaaf648077e4.tar.bz2 Sensor-Watch-75be6219142a7333fb62ac91fb6abaaf648077e4.zip |
movement settings: add timeout and LED duration
Diffstat (limited to 'movement/movement.h')
-rw-r--r-- | movement/movement.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/movement/movement.h b/movement/movement.h index d116a6e0..41446a9b 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -6,12 +6,12 @@ // TODO: none of this is implemented typedef union { struct { - uint32_t reserved : 14; + uint32_t reserved : 15; uint32_t clock_mode_24h : 1; // determines whether clock should use 12 or 24 hour mode. uint32_t button_should_sound : 1; // if true, pressing a button emits a sound. - uint32_t to_inactivity_interval : 2;// an inactivity interval for asking the active face to resign. - uint32_t le_inactivity_interval : 3;// 0 to disable low energy mode, or an inactivity interval for going into low energy mode. - uint32_t led_duration : 3; // how many seconds to shine the LED for, or 0 to disable it. + uint32_t to_interval : 2; // an inactivity interval for asking the active face to resign. + uint32_t le_interval : 3; // 0 to disable low energy mode, or an inactivity interval for going into low energy mode. + uint32_t led_duration : 2; // how many seconds to shine the LED for (x2), or 0 to disable it. uint32_t led_red_color : 4; // for general purpose illumination, the red LED value (0-15) uint32_t led_green_color : 4; // for general purpose illumination, the green LED value (0-15) } bit; |