Popup in module information screen
This commit is contained in:
@@ -124,6 +124,14 @@ bool menuRadioModulesVersion(event_t event)
|
||||
if (variant < DIM(variants)) {
|
||||
lcdDrawText(lcdNextPos + 1, y, variants[variant]);
|
||||
}
|
||||
if (!globalData.upgradeModulePopup &&
|
||||
reusableBuffer.hardwareAndSettings.modules[module].information.modelID == PXX2_MODULE_ISRM_S_X10S &&
|
||||
reusableBuffer.hardwareAndSettings.modules[module].information.swVersion.major == 0 &&
|
||||
reusableBuffer.hardwareAndSettings.modules[module].information.swVersion.minor == 1 &&
|
||||
reusableBuffer.hardwareAndSettings.modules[module].information.swVersion.revision < 5) {
|
||||
globalData.upgradeModulePopup = 0;
|
||||
POPUP_WARNING(STR_MODULE_UPGRADE);
|
||||
}
|
||||
}
|
||||
}
|
||||
y += FH;
|
||||
|
||||
Reference in New Issue
Block a user