Fixes #7694
This commit is contained in:
@@ -570,6 +570,15 @@ inline void POPUP_WAIT(const char * s)
|
|||||||
popupFunc = runPopupWarning;
|
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)
|
inline void POPUP_INFORMATION(const char * s)
|
||||||
{
|
{
|
||||||
warningText = s;
|
warningText = s;
|
||||||
|
|||||||
@@ -568,12 +568,12 @@ bool menuRadioSdManager(event_t _event)
|
|||||||
for (auto rx = 0; rx < popupMenuItemsCount; rx++) {
|
for (auto rx = 0; rx < popupMenuItemsCount; rx++) {
|
||||||
popupMenuItems[rx] = reusableBuffer.sdManager.otaUpdateInformation.candidateReceiversNames[rx];
|
popupMenuItems[rx] = reusableBuffer.sdManager.otaUpdateInformation.candidateReceiversNames[rx];
|
||||||
}
|
}
|
||||||
//popupMenuTitle = STR_PXX2_SELECT_RX;
|
// popupMenuTitle = STR_PXX2_SELECT_RX;
|
||||||
POPUP_MENU_START(onUpdateReceiverSelection);
|
POPUP_MENU_START(onUpdateReceiverSelection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
POPUP_WAIT(STR_WAITING_FOR_RX);
|
DRAW_POPUP_WAIT(STR_WAITING_FOR_RX);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user