actually respect wake_on_motion setting (#8690)

This commit is contained in:
Jonathan Bennett
2025-11-20 05:41:32 -06:00
committed by GitHub
parent 2ca03fbf4b
commit 9cf369c5d0

View File

@@ -69,7 +69,8 @@ void MotionSensor::wakeScreen()
{
if (powerFSM.getState() == &stateDARK) {
LOG_DEBUG("Motion wakeScreen detected");
powerFSM.trigger(EVENT_INPUT);
if (config.display.wake_on_tap_or_motion)
powerFSM.trigger(EVENT_INPUT);
}
}
@@ -87,4 +88,4 @@ void MotionSensor::buttonPress() {}
#endif
#endif
#endif