mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-22 11:17:49 +10:00
Drop the LongPressIrq detection
This commit is contained in:
@@ -948,13 +948,6 @@ int32_t Power::runOnce()
|
|||||||
LOG_DEBUG("Battery removed");
|
LOG_DEBUG("Battery removed");
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
#ifndef T_WATCH_S3 // FIXME - why is this triggering on the T-Watch S3?
|
|
||||||
if (PMU->isPekeyLongPressIrq()) {
|
|
||||||
LOG_DEBUG("PEK long button press");
|
|
||||||
if (screen)
|
|
||||||
screen->setOn(false);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
PMU->clearIrqStatus();
|
PMU->clearIrqStatus();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user