AP_Param: remove superfluous linefeed from panic strings

panic adds this within the HAL layer.
This commit is contained in:
Peter Barker 2024-12-13 20:15:45 +11:00 committed by Peter Barker
parent 074798fb88
commit 70e9a90ac5

View File

@ -1616,7 +1616,7 @@ void AP_Param::load_defaults_file_from_filesystem(const char *default_file, bool
#endif
} else {
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
AP_HAL::panic("Failed to load defaults from %s\n", default_file);
AP_HAL::panic("Failed to load defaults from %s", default_file);
#else
printf("Failed to load defaults from %s\n", default_file);
#endif