Bug with [EXIT Long] in TX / RX Options screen
This commit is contained in:
@@ -104,6 +104,7 @@ void menuModelModuleOptions(event_t event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (menuEvent) {
|
if (menuEvent) {
|
||||||
|
killEvents(KEY_EXIT);
|
||||||
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
if (reusableBuffer.hardwareAndSettings.moduleSettingsDirty) {
|
if (reusableBuffer.hardwareAndSettings.moduleSettingsDirty) {
|
||||||
abortPopMenu();
|
abortPopMenu();
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ void menuModelReceiverOptions(event_t event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (menuEvent) {
|
if (menuEvent) {
|
||||||
|
killEvents(KEY_EXIT);
|
||||||
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
moduleState[g_moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
if (reusableBuffer.hardwareAndSettings.receiverSettings.dirty) {
|
if (reusableBuffer.hardwareAndSettings.receiverSettings.dirty) {
|
||||||
abortPopMenu();
|
abortPopMenu();
|
||||||
|
|||||||
Reference in New Issue
Block a user