Watchfaces: Assume motionsensor is ok

The watch face shouldn't and doesn't start before the sensor is ready.
This commit is contained in:
Riku Isokoski
2023-04-05 21:46:15 +03:00
parent e4a6f6ad77
commit 348d3de60b
10 changed files with 5 additions and 15 deletions

View File

@@ -148,8 +148,7 @@ void WatchFaceDigital::Refresh() {
}
stepCount = motionController.NbSteps();
motionSensorOk = motionController.IsSensorOk();
if (stepCount.IsUpdated() || motionSensorOk.IsUpdated()) {
if (stepCount.IsUpdated()) {
lv_label_set_text_fmt(stepValue, "%lu", stepCount.Get());
lv_obj_realign(stepValue);
lv_obj_realign(stepIcon);