From 27d7c73c8e30551ed0873a4a1b890d84dd99c668 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Sun, 3 Jan 2021 21:35:13 +0000 Subject: [PATCH] AP_RCProtocol: rc_protocols_mask must be set before bootstrap occurs --- libraries/AP_RCProtocol/AP_RCProtocol.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/AP_RCProtocol/AP_RCProtocol.cpp b/libraries/AP_RCProtocol/AP_RCProtocol.cpp index 22ba7cff7e..e870f12e44 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol.cpp +++ b/libraries/AP_RCProtocol/AP_RCProtocol.cpp @@ -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();