do not detach button interrupt when going into light sleep

This commit is contained in:
m1nl 2025-06-23 00:21:41 +02:00
parent 177fdd674d
commit 8970cadb75

View File

@ -302,7 +302,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
}