From d68b95e60e259871f18b5e5a95d9f138fde5c395 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 13 Dec 2024 20:15:43 +1100 Subject: [PATCH] AP_AHRS: remove superfluous linefeed from panic strings panic adds this within the HAL layer. --- libraries/AP_AHRS/AP_AHRS_View.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS_View.cpp b/libraries/AP_AHRS/AP_AHRS_View.cpp index 450567ce2c..a2bfa34d1d 100644 --- a/libraries/AP_AHRS/AP_AHRS_View.cpp +++ b/libraries/AP_AHRS/AP_AHRS_View.cpp @@ -36,7 +36,7 @@ AP_AHRS_View::AP_AHRS_View(AP_AHRS &_ahrs, enum Rotation _rotation, float pitch_ y_angle = 270; break; default: - AP_HAL::panic("Unsupported AHRS view %u\n", (unsigned)rotation); + AP_HAL::panic("Unsupported AHRS view %u", (unsigned)rotation); } _pitch_trim_deg = pitch_trim_deg;