diff --git a/libraries/AP_HAL_Empty/Scheduler.cpp b/libraries/AP_HAL_Empty/Scheduler.cpp index b493cd7bd6..b18e5a7c11 100644 --- a/libraries/AP_HAL_Empty/Scheduler.cpp +++ b/libraries/AP_HAL_Empty/Scheduler.cpp @@ -76,7 +76,7 @@ void EmptyScheduler::panic(const prog_char_t *errormsg, ...) va_list ap; va_start(ap, errormsg); - hal.console->vprintf_P(errormsg, ap); + hal.console->vprintf(errormsg, ap); va_end(ap); hal.console->printf_P("\n"); diff --git a/libraries/AP_HAL_FLYMAPLE/Scheduler.cpp b/libraries/AP_HAL_FLYMAPLE/Scheduler.cpp index 719ec6e9eb..5780ed19e1 100644 --- a/libraries/AP_HAL_FLYMAPLE/Scheduler.cpp +++ b/libraries/AP_HAL_FLYMAPLE/Scheduler.cpp @@ -239,7 +239,7 @@ void FLYMAPLEScheduler::panic(const prog_char_t *errormsg, ...) { _timer_suspended = true; va_start(ap, errormsg); - hal.console->vprintf_P(errormsg, ap); + hal.console->vprintf(errormsg, ap); va_end(ap); hal.console->printf_P("\n"); diff --git a/libraries/AP_HAL_SITL/Scheduler.cpp b/libraries/AP_HAL_SITL/Scheduler.cpp index f0bdd48438..ca89c5fa91 100644 --- a/libraries/AP_HAL_SITL/Scheduler.cpp +++ b/libraries/AP_HAL_SITL/Scheduler.cpp @@ -264,7 +264,7 @@ void SITLScheduler::panic(const prog_char_t *errormsg, ...) va_list ap; va_start(ap, errormsg); - hal.console->vprintf_P(errormsg, ap); + hal.console->vprintf(errormsg, ap); va_end(ap); hal.console->printf_P("\n"); diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract_Stream.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract_Stream.cpp index 00fbb58c02..934e2cc97e 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract_Stream.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_UserInteract_Stream.cpp @@ -21,7 +21,7 @@ void AP_InertialSensor_UserInteractStream::_printf_P( const prog_char* fmt, ...) { va_list ap; va_start(ap, fmt); - _s->vprintf_P(fmt, ap); + _s->vprintf(fmt, ap); va_end(ap); }