Cosmetics
This commit is contained in:
@@ -235,17 +235,21 @@ void processAuthenticationFrame(uint8_t module, const uint8_t * frame)
|
||||
globalData.upgradeModulePopup = 1;
|
||||
POPUP_INFORMATION(STR_AUTH_FAILURE);
|
||||
}
|
||||
TRACE("[authFailed]\r\n", authenticateFrames);
|
||||
return;
|
||||
}
|
||||
|
||||
if (INTERNAL_MODULE == module && access_denied(cryptoType, frame+4, messageDigest)) {
|
||||
if (INTERNAL_MODULE == module &&
|
||||
access_denied(cryptoType, frame + 4, messageDigest)) {
|
||||
moduleState[module].mode = MODULE_MODE_AUTHENTICATION;
|
||||
Pxx2Pulses & pxx2 = intmodulePulsesData.pxx2;
|
||||
pxx2.setupAuthenticationFrame(module, cryptoType, (const uint8_t *)messageDigest);
|
||||
Pxx2Pulses &pxx2 = intmodulePulsesData.pxx2;
|
||||
pxx2.setupAuthenticationFrame(module, cryptoType,
|
||||
(const uint8_t *)messageDigest);
|
||||
intmoduleSendBuffer(pxx2.getData(), pxx2.getSize());
|
||||
// we remain in AUTHENTICATION mode to avoid a CHANNELS frame is sent at the end of the mixing process
|
||||
// we remain in AUTHENTICATION mode to avoid a CHANNELS frame is sent at the
|
||||
// end of the mixing process
|
||||
authenticateFrames++;
|
||||
serialPrint("[authFrame %d]\r\n", authenticateFrames);
|
||||
TRACE("[authFrame %d]\r\n", authenticateFrames);
|
||||
}
|
||||
|
||||
if (!globalData.upgradeModulePopup) {
|
||||
|
||||
Reference in New Issue
Block a user