Watchfaces: Assume motionsensor is ok
The watch face shouldn't and doesn't start before the sensor is ready.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user