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;