mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-30 02:15:41 +00:00
do not detach button interrupt when going into light sleep
This commit is contained in:
parent
47881d11a6
commit
94a560b678
@ -300,7 +300,8 @@ void ButtonThread::detachButtonInterrupts()
|
||||
// Allows sleep.cpp to configure its own interrupts, which wake the device on user-button press
|
||||
int ButtonThread::beforeLightSleep(void *unused)
|
||||
{
|
||||
detachButtonInterrupts();
|
||||
// detachButtonInterrupts();
|
||||
// not really needed and stays in conflict with dynamic light sleep
|
||||
return 0; // Indicates success
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user