mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
AP_HAL_SMACCM: use common printf implementation
This commit is contained in:
parent
b9d6f8e8b1
commit
f5c0f765fc
@ -102,11 +102,8 @@ void SMACCMUARTDriver::_printf_P(const prog_char *fmt, ...)
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
void SMACCMUARTDriver::vprintf(const char *pstr, va_list ap)
|
||||
{
|
||||
char buf[128];
|
||||
vsnprintf(buf, sizeof(buf), pstr, ap);
|
||||
print(buf);
|
||||
void SMACCMUARTDriver::vprintf(const char *fmt, va_list ap) {
|
||||
print_vprintf((AP_HAL::Print*)this, 0, fmt, ap);
|
||||
}
|
||||
|
||||
void SMACCMUARTDriver::vprintf_P(const prog_char *pstr, va_list ap)
|
||||
|
Loading…
Reference in New Issue
Block a user