From: Joey Castillo Date: Fri, 1 Apr 2022 19:43:19 +0000 (-0400) Subject: thermistor readout: fix change in units when waking from sleep X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=fa0a424857fc3cdda56057f9e0201eaa30044489;p=sensor-watch.git thermistor readout: fix change in units when waking from sleep --- diff --git a/movement/watch_faces/sensor/thermistor_readout_face.c b/movement/watch_faces/sensor/thermistor_readout_face.c index b97c843..2810602 100644 --- a/movement/watch_faces/sensor/thermistor_readout_face.c +++ b/movement/watch_faces/sensor/thermistor_readout_face.c @@ -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;