This commit is contained in:
Bertrand Songis
2020-06-08 14:40:53 +02:00
parent 31d734d14a
commit ec9de757b8
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -570,6 +570,15 @@ inline void POPUP_WAIT(const char * s)
popupFunc = runPopupWarning;
}
inline void DRAW_POPUP_WAIT(const char * s)
{
warningText = s;
warningInfoText = nullptr;
warningType = WARNING_TYPE_WAIT;
runPopupWarning(0);
warningText = nullptr;
}
inline void POPUP_INFORMATION(const char * s)
{
warningText = s;
+2 -2
View File
@@ -568,12 +568,12 @@ bool menuRadioSdManager(event_t _event)
for (auto rx = 0; rx < popupMenuItemsCount; rx++) {
popupMenuItems[rx] = reusableBuffer.sdManager.otaUpdateInformation.candidateReceiversNames[rx];
}
//popupMenuTitle = STR_PXX2_SELECT_RX;
// popupMenuTitle = STR_PXX2_SELECT_RX;
POPUP_MENU_START(onUpdateReceiverSelection);
}
}
else {
POPUP_WAIT(STR_WAITING_FOR_RX);
DRAW_POPUP_WAIT(STR_WAITING_FOR_RX);
}
}
}