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;