Add some random to REGISTER command

This commit is contained in:
Bertrand Songis
2019-03-14 16:06:26 +01:00
parent 6cbffc1ad0
commit a59776a8e8
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -139,6 +139,7 @@ void Pxx2Pulses::setupRegisterFrame(uint8_t module)
for (uint8_t i=0; i<PXX2_LEN_REGISTRATION_ID; i++) {
Pxx2Transport::addByte(zchar2char(g_model.modelRegistrationID[i]));
}
Pxx2Transport::addByte(reusableBuffer.moduleSetup.pxx2.registerLoopIndex);
}
else {
Pxx2Transport::addByte(0);