From ec85c7aba66112d3fdfe2dee421e45069c4b986e Mon Sep 17 00:00:00 2001 From: Andy Piper Date: Mon, 19 Feb 2024 18:43:08 +0000 Subject: [PATCH] AP_Logger: remove unused variables --- libraries/AP_Logger/AP_Logger_File.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Logger/AP_Logger_File.h b/libraries/AP_Logger/AP_Logger_File.h index 07709d3e93..038324e92e 100644 --- a/libraries/AP_Logger/AP_Logger_File.h +++ b/libraries/AP_Logger/AP_Logger_File.h @@ -72,7 +72,7 @@ private: char *_write_filename; bool last_log_is_marked_discard; uint32_t _last_write_ms; -#if AP_RTC_ENABLED +#if AP_RTC_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS bool _need_rtc_update; #endif