From 9350c78023772fdf677e360cea2f355edf6f62d5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Mar 2020 09:49:53 +1100 Subject: [PATCH] AP_HAL_ChibiOS: use GCS_SEND_TEXT() --- libraries/AP_HAL_ChibiOS/RCInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/RCInput.cpp b/libraries/AP_HAL_ChibiOS/RCInput.cpp index 547d2a4e99b..a12e60730c1 100644 --- a/libraries/AP_HAL_ChibiOS/RCInput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCInput.cpp @@ -216,7 +216,7 @@ void RCInput::_timer_tick(void) #ifndef HAL_NO_UARTDRIVER if (rc_protocol && rc_protocol != last_protocol) { last_protocol = rc_protocol; - gcs().send_text(MAV_SEVERITY_DEBUG, "RCInput: decoding %s", last_protocol); + GCS_SEND_TEXT(MAV_SEVERITY_DEBUG, "RCInput: decoding %s", last_protocol); } #endif