diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-03-31 07:53:00 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-03-31 07:53:00 (GMT) |
| commit | 1037b7239e2aff74b5b423e4eda881cedcbe1b56 (patch) | |
| tree | abfb24a2c9e4eb77bdd57d03914bf94555d3442d | |
| parent | 1a166673fbbf12cfc3f047afe0305131b9b96e39 (diff) | |
Fix for motion sensor thermometer
| -rw-r--r-- | src/displayapp/screens/WatchFaceDigital.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceDigital.cpp b/src/displayapp/screens/WatchFaceDigital.cpp index 44af905..3fbb373 100644 --- a/src/displayapp/screens/WatchFaceDigital.cpp +++ b/src/displayapp/screens/WatchFaceDigital.cpp @@ -349,7 +349,7 @@ void WatchFaceDigital::Refresh() { temperature = systemTask.motionSensor.temperature_last_read_value+23; if (temperature.IsUpdated()) { lv_obj_set_style_local_text_color( label_temp, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, lv_color_hex(0x999999)); - lv_label_set_text_fmt(label_temp, "%d°C"); + lv_label_set_text_fmt(label_temp, "%d°C", temperature); #if 0 lv_label_set_text_fmt(label_temp, "T%d [%d,%d]", ((int)(systemTask.motionSensor.temperature_last_read_value+23)), |
