Popup displayed if the ACCESS module is not up to date

This commit is contained in:
Bertrand Songis
2019-11-22 11:13:26 +01:00
parent 6acd4201dd
commit 7f06c06e84
3 changed files with 17 additions and 2 deletions
+10
View File
@@ -239,6 +239,16 @@ void processAuthenticationFrame(uint8_t module, uint8_t * frame)
intmoduleSendBuffer(pxx2.getData(), pxx2.getSize());
// we remain in AUTHENTICATION mode to avoid a CHANNELS frame is sent at the end of the mixing process
}
if (!globalData.authenticationPopup) {
if (globalData.authenticationCount >= 2) {
globalData.authenticationPopup = 1;
POPUP_WARNING(STR_MODULE_UPGRADE);
}
else {
globalData.authenticationCount += 1;
}
}
}
#else
#define processAuthenticationFrame(module, frame)