mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
Remove the check of the Receiver ID. Or we will never accept newer receivers!
This commit is contained in:
parent
aa4aae816f
commit
12cc948021
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void processGetHardwareInfoFrame(uint8_t module, const uint8_t * frame)
|
||||||
POPUP_WARNING(STR_MODULE_UPGRADE_ALERT);
|
POPUP_WARNING(STR_MODULE_UPGRADE_ALERT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (index < PXX2_MAX_RECEIVERS_PER_MODULE && modelId < DIM(PXX2ReceiversNames)) {
|
else if (index < PXX2_MAX_RECEIVERS_PER_MODULE) {
|
||||||
memcpy(&destination->receivers[index].information, &frame[4], length);
|
memcpy(&destination->receivers[index].information, &frame[4], length);
|
||||||
destination->receivers[index].timestamp = get_tmr10ms();
|
destination->receivers[index].timestamp = get_tmr10ms();
|
||||||
if (destination->receivers[index].information.capabilities & ~((1 << RECEIVER_CAPABILITY_COUNT) - 1))
|
if (destination->receivers[index].information.capabilities & ~((1 << RECEIVER_CAPABILITY_COUNT) - 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue