mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCProtocol: rc_protocols_mask must be set before bootstrap occurs
This commit is contained in:
parent
ceb2c87970
commit
27d7c73c8e
@ -274,7 +274,9 @@ void AP_RCProtocol::check_added_uart(void)
|
||||
added.uart->begin(added.baudrate, 128, 128);
|
||||
added.last_baud_change_ms = AP_HAL::millis();
|
||||
}
|
||||
|
||||
#ifndef IOMCU_FW
|
||||
rc_protocols_mask = rc().enabled_protocols();
|
||||
#endif
|
||||
process_handshake(added.baudrate);
|
||||
|
||||
uint32_t n = added.uart->available();
|
||||
|
Loading…
Reference in New Issue
Block a user