From d7ae8b8bb3dbd3a076f832c753feabf38faf9a02 Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 19 Feb 2024 10:35:51 +0000 Subject: [PATCH] AP_RCProtocol: correctly process bytes from standalone UART --- libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp b/libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp index 391f125eb8..eb454752d5 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp +++ b/libraries/AP_RCProtocol/AP_RCProtocol_CRSF.cpp @@ -299,7 +299,7 @@ void AP_RCProtocol_CRSF::update(void) for (uint8_t i = 0; i < n; i++) { int16_t b = _uart->read(); if (b >= 0) { - process_byte(AP_HAL::micros(), uint8_t(b)); + _process_byte(AP_HAL::micros(), uint8_t(b)); } } }