From 78afaebe55bc5fd8f37c0ab0b2e6a88c089d2600 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Aug 2024 13:17:21 +1000 Subject: [PATCH] AP_Logger: use GCS_SEND_TEXT rather than gcs().send_text Co-authored-by: muramura --- libraries/AP_Logger/AP_Logger_File.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Logger/AP_Logger_File.cpp b/libraries/AP_Logger/AP_Logger_File.cpp index 68c98fe98d..3ac9c7d093 100644 --- a/libraries/AP_Logger/AP_Logger_File.cpp +++ b/libraries/AP_Logger/AP_Logger_File.cpp @@ -764,7 +764,7 @@ void AP_Logger_File::start_new_log(void) // set _open_error here to avoid infinite recursion. Simply // writing a prioritised block may try to open a log - which means - // if anything in the start_new_log path does a gcs().send_text() + // if anything in the start_new_log path does a GCS_SEND_TEXT() // (for example), you will end up recursing if we don't take // precautions. We will reset _open_error if we actually manage // to open the log...