1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

ACCESS Bind with RX > 0 was broken

This commit is contained in:
Bertrand Songis 2019-06-26 08:47:11 +02:00
parent efde2af17b
commit e41fe19a3d
No known key found for this signature in database
GPG key ID: F189F79290FEC50F

View file

@ -268,7 +268,7 @@ void Pxx2Pulses::setupAccessBindFrame(uint8_t module)
Pxx2Transport::addByte((destination->lbtMode << 6) + (destination->flexMode << 4) + destination->rxUid); // RX_UID is the slot index (which is unique and never moved)
}
else {
Pxx2Transport::addByte(0x00);
Pxx2Transport::addByte(destination->rxUid); // RX_UID is the slot index (which is unique and never moved)
}
Pxx2Transport::addByte(g_model.header.modelId[module]);
}