Skip to content

Commit 0313277

Browse files
committed
Fix touchinfo typo in SystemTask.
1 parent f895da8 commit 0313277

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/systemtask/SystemTask.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ void SystemTask::Work() {
241241
break;
242242
case Messages::TouchWakeUp: {
243243
auto touchInfo = touchPanel.GetTouchInfo();
244-
if (touchInfo.isTouch and ((touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and
244+
if (touchInfo.touching and ((touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and
245245
settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::DoubleTap)) or
246246
(touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::SingleTap and
247247
settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::SingleTap)))) {

0 commit comments

Comments
 (0)