Next fix
This commit is contained in:
@@ -62,7 +62,7 @@ void Pxx2Pulses::setupRegisterFrame(uint8_t module)
|
|||||||
addFrameType(PXX2_TYPE_C_MODULE, PXX2_TYPE_ID_REGISTER);
|
addFrameType(PXX2_TYPE_C_MODULE, PXX2_TYPE_ID_REGISTER);
|
||||||
|
|
||||||
if (counter == REGISTER_COUNTER_ID_RECEIVED) {
|
if (counter == REGISTER_COUNTER_ID_RECEIVED) {
|
||||||
Pxx2Transport::addByte(1);
|
Pxx2Transport::addByte(0x01);
|
||||||
for (uint8_t i=0; i<4; i++) {
|
for (uint8_t i=0; i<4; i++) {
|
||||||
Pxx2Transport::addByte(g_model.modelRegistrationID[i]);
|
Pxx2Transport::addByte(g_model.modelRegistrationID[i]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ class ModuleFifo : public Fifo<uint8_t, 32> {
|
|||||||
if (isEmpty()) {
|
if (isEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if (fifo[ridx] != 0xFE) {
|
else if (fifo[ridx] != 0x7E) {
|
||||||
skip();
|
skip();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user