Updates to external notification and radiolib for SX128x. Rip out Godmode again for these

This commit is contained in:
Thomas Göttgens
2022-12-28 14:57:40 +01:00
parent 430908f5d6
commit e25d05689b
8 changed files with 91 additions and 86 deletions

View File

@@ -1073,9 +1073,11 @@ int32_t Screen::runOnce()
case Cmd::ON_PRESS:
// If a nag notification is running, stop it
if (externalNotificationModule->nagCycleCutoff != UINT32_MAX) {
externalNotificationModule->nagCycleCutoff = 0;
externalNotificationModule->stopNow();
} else {
// Don't advance the screen if we just wanted to switch off the nag notification
handleOnPress();
}
handleOnPress();
break;
case Cmd::START_BLUETOOTH_PIN_SCREEN:
handleStartBluetoothPinScreen(cmd.bluetooth_pin);