From 074798fb8898121173e78381c9185d151037680e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 13 Dec 2024 20:15:44 +1100 Subject: [PATCH] AP_Logger: remove superfluous linefeed from panic strings panic adds this within the HAL layer. --- libraries/AP_Logger/AP_Logger_Backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Logger/AP_Logger_Backend.cpp b/libraries/AP_Logger/AP_Logger_Backend.cpp index 6d9db1a43b..e2f18ef6fe 100644 --- a/libraries/AP_Logger/AP_Logger_Backend.cpp +++ b/libraries/AP_Logger/AP_Logger_Backend.cpp @@ -403,7 +403,7 @@ void AP_Logger_Backend::validate_WritePrioritisedBlock(const void *pBuffer, } else { strncpy(name, "?NM?", ARRAY_SIZE(name)); } - AP_HAL::panic("Size mismatch for %u (%s) (expected=%u got=%u)\n", + AP_HAL::panic("Size mismatch for %u (%s) (expected=%u got=%u)", type, name, type_len, size); } }