Register Loop Index now retrieven from RX at Register (not always 0)

This commit is contained in:
Bertrand Songis
2019-04-11 22:01:31 +02:00
parent 8ec2155be6
commit bd75629423
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -160,7 +160,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.registerModuleIndex);
Pxx2Transport::addByte(reusableBuffer.moduleSetup.pxx2.registerLoopIndex);
}
else {
Pxx2Transport::addByte(0);