]> git.earman.xyz Git - sensor-watch.git/commitdiff
movement: default to "instant" led_duration.
authorWesley Aptekar-Cassels <me@wesleyac.com>
Sat, 30 Sep 2023 02:13:29 +0000 (22:13 -0400)
committerWesley Aptekar-Cassels <me@wesleyac.com>
Sat, 30 Sep 2023 02:13:29 +0000 (22:13 -0400)
This is a matter of personal preference, but "instant" is the behaviour
of the original watch, and seems like the thing more people would
expect. Feel free not to take this commit if you disagree, though.

movement/movement.c

index 17011e0be867b07d6d0457322ff0182cdbe140c4..577f1995f391ef30d641f77ed53721385f925203 100644 (file)
@@ -364,7 +364,7 @@ void app_init(void) {
     movement_state.settings.bit.led_green_color = MOVEMENT_DEFAULT_GREEN_COLOR;
     movement_state.settings.bit.button_should_sound = true;
     movement_state.settings.bit.le_interval = 1;
-    movement_state.settings.bit.led_duration = 1;
+    movement_state.settings.bit.led_duration = 0;
     movement_state.light_ticks = -1;
     movement_state.alarm_ticks = -1;
     movement_state.next_available_backup_register = 4;