This commit is contained in:
Bertrand Songis
2019-02-05 18:35:00 +01:00
parent 480eb90001
commit 64693fc92e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void Pxx2Pulses::setupRegisterFrame(uint8_t module)
addFrameType(PXX2_TYPE_C_MODULE, PXX2_TYPE_ID_REGISTER);
if (counter == REGISTER_COUNTER_ID_RECEIVED) {
Pxx2Transport::addByte(1);
Pxx2Transport::addByte(0x01);
for (uint8_t i=0; i<4; i++) {
Pxx2Transport::addByte(g_model.modelRegistrationID[i]);
}
+1 -1
View File
@@ -46,7 +46,7 @@ class ModuleFifo : public Fifo<uint8_t, 32> {
if (isEmpty()) {
return false;
}
else if (fifo[ridx] != 0xFE) {
else if (fifo[ridx] != 0x7E) {
skip();
}
else {