Better?
This commit is contained in:
@@ -87,7 +87,7 @@ void processRegisterFrame(uint8_t module, uint8_t * frame)
|
|||||||
|
|
||||||
}
|
}
|
||||||
// PASSWORD follows, we check it is good
|
// PASSWORD follows, we check it is good
|
||||||
if (memcmp(&frame[8], g_model.modelRegistrationID, PXX2_LEN_REGISTRATION_ID) == 0) {
|
if (memcmp(&frame[12], g_model.modelRegistrationID, PXX2_LEN_REGISTRATION_ID) == 0) {
|
||||||
reusableBuffer.modelsetup.pxx2_register_or_bind_step = REGISTER_OK;
|
reusableBuffer.modelsetup.pxx2_register_or_bind_step = REGISTER_OK;
|
||||||
moduleSettings[module].mode = MODULE_MODE_NORMAL;
|
moduleSettings[module].mode = MODULE_MODE_NORMAL;
|
||||||
POPUP_INFORMATION(STR_REG_OK);
|
POPUP_INFORMATION(STR_REG_OK);
|
||||||
|
|||||||
Reference in New Issue
Block a user