]> git.earman.xyz Git - sensor-watch.git/commitdiff
thermistor readout: fix change in units when waking from sleep
authorJoey Castillo <joeycastillo@utexas.edu>
Fri, 1 Apr 2022 19:43:19 +0000 (15:43 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Sat, 2 Apr 2022 14:07:18 +0000 (10:07 -0400)
movement/watch_faces/sensor/thermistor_readout_face.c

index b97c84325f801bba439f02dcee627e93cb3eeee5..28106022b84f16007fcdc74d86a3639f133513fa 100644 (file)
@@ -63,7 +63,7 @@ bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *s
         case EVENT_LIGHT_BUTTON_DOWN:
             movement_illuminate_led();
             break;
-        case EVENT_ALARM_BUTTON_UP:
+        case EVENT_ALARM_BUTTON_DOWN:
             settings->bit.use_imperial_units = !settings->bit.use_imperial_units;
             _thermistor_readout_face_update_display(settings->bit.use_imperial_units);
             break;