From b351644583da8809a9bda79f2f45a0f146fbb19f Mon Sep 17 00:00:00 2001 From: lipper-chengdu <7149962@qq.com> Date: Wed, 10 May 2023 19:05:02 +0800 Subject: [PATCH] AP_RCProtocol: Fix the issue of ST24 receiver not working --- libraries/AP_RCProtocol/AP_RCProtocol_ST24.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_RCProtocol/AP_RCProtocol_ST24.cpp b/libraries/AP_RCProtocol/AP_RCProtocol_ST24.cpp index 9b37ad1578..072103b450 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol_ST24.cpp +++ b/libraries/AP_RCProtocol/AP_RCProtocol_ST24.cpp @@ -177,6 +177,7 @@ void AP_RCProtocol_ST24::_process_byte(uint8_t byte) values[chan_index] = (uint16_t)(values[chan_index] * ST24_SCALE_FACTOR + .5f) + ST24_SCALE_OFFSET; chan_index++; } + add_input(num_values, values, false);//AP_RCProtocol: Fix the issue of ST24 receiver not working } break; @@ -207,6 +208,7 @@ void AP_RCProtocol_ST24::_process_byte(uint8_t byte) values[chan_index] = (uint16_t)(values[chan_index] * ST24_SCALE_FACTOR + .5f) + ST24_SCALE_OFFSET; chan_index++; } + add_input(num_values, values, false);//AP_RCProtocol: Fix the issue of ST24 receiver not working } break;