Bug with [EXIT Long] in TX / RX Options screen

This commit is contained in:
Bertrand Songis
2019-05-14 09:20:23 +02:00
parent 3a25da4fe8
commit 00658df0a7
2 changed files with 2 additions and 0 deletions
@@ -104,6 +104,7 @@ void menuModelModuleOptions(event_t event)
}
if (menuEvent) {
killEvents(KEY_EXIT);
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
if (reusableBuffer.hardwareAndSettings.moduleSettingsDirty) {
abortPopMenu();
@@ -67,6 +67,7 @@ void menuModelReceiverOptions(event_t event)
}
if (menuEvent) {
killEvents(KEY_EXIT);
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
if (reusableBuffer.hardwareAndSettings.receiverSettings.dirty) {
abortPopMenu();