mirror of
https://github.com/opentx/opentx.git
synced 2025-07-22 15:55:26 +03:00
Fixes
This commit is contained in:
parent
031abfaf18
commit
90d16ba330
2 changed files with 2 additions and 2 deletions
|
@ -1118,7 +1118,7 @@ union ReusableBuffer
|
|||
char msg[64];
|
||||
uint8_t r9mPower;
|
||||
uint8_t pxx2_register_or_bind_step;
|
||||
char pxx2_bind_candidate_receivers[5][8];
|
||||
char pxx2_bind_candidate_receivers[PXX2_MAX_RECEIVERS_PER_MODULE][8];
|
||||
uint8_t pxx2_bind_candidate_receivers_count;
|
||||
uint8_t pxx2_bind_receiver_index;
|
||||
} modelsetup;
|
||||
|
|
|
@ -75,7 +75,7 @@ void Pxx2Pulses::setupBindFrame(uint8_t module)
|
|||
addFrameType(PXX2_TYPE_C_MODULE, PXX2_TYPE_ID_BIND);
|
||||
|
||||
if (reusableBuffer.modelsetup.pxx2_register_or_bind_step == BIND_RX_ID_SELECTED) {
|
||||
Pxx2Transport::addByte(0x00);
|
||||
Pxx2Transport::addByte(0x01);
|
||||
for (uint8_t i=0; i<PXX2_LEN_RX_ID; i++) {
|
||||
Pxx2Transport::addByte(g_model.moduleData[module].pxx2.receivers[reusableBuffer.modelsetup.pxx2_bind_receiver_index].rxID[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue