Merge PR #293 - add instant LED duration
Adds an instant LED duration preference that only keeps the LED lit while the LIGHT button remains held down. Matches the behavior of the original watch. Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> Tested-on-hardware-by: Wesley Aptekar-Cassels <me@wesleyac.com> Tested-on-hardware-by: 814d3 (GitHub) GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/293
This commit is contained in:
@@ -50,7 +50,7 @@ typedef union {
|
||||
uint8_t to_interval : 2; // an inactivity interval for asking the active face to resign.
|
||||
bool to_always : 1; // if true, always time out from the active face to face 0. otherwise only faces that time out will resign (the default).
|
||||
uint8_t le_interval : 3; // 0 to disable low energy mode, or an inactivity interval for going into low energy mode.
|
||||
uint8_t led_duration : 2; // how many seconds to shine the LED for (x2), or 0 to disable it.
|
||||
uint8_t led_duration : 3; // how many seconds to shine the LED for (x2), 0 to shine only while the button is depressed, or all bits set to disable the LED altogether.
|
||||
uint8_t led_red_color : 4; // for general purpose illumination, the red LED value (0-15)
|
||||
uint8_t led_green_color : 4; // for general purpose illumination, the green LED value (0-15)
|
||||
uint8_t time_zone : 6; // an integer representing an index in the time zone table.
|
||||
|
||||
Reference in New Issue
Block a user