From 348d3de60bc61f04f11f5409c5950afb22aeb788 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Wed, 5 Apr 2023 21:46:15 +0300 Subject: Watchfaces: Assume motionsensor is ok The watch face shouldn't and doesn't start before the sensor is ready. --- src/displayapp/screens/WatchFaceCasioStyleG7710.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/displayapp/screens/WatchFaceCasioStyleG7710.cpp') diff --git a/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp b/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp index a34431a4..c468a4b1 100644 --- a/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp +++ b/src/displayapp/screens/WatchFaceCasioStyleG7710.cpp @@ -305,8 +305,7 @@ void WatchFaceCasioStyleG7710::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); -- cgit v1.2.3-70-g09d2