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 47881d11a6
commit 94a560b678

View File

@ -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
}