Replace use of vprintf_P() with vprintf()
This commit is contained in:
parent
6f4904189b
commit
7ceffb1e2b
@ -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");
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user