GCS_Console: Unify from print or println to printf.

This commit is contained in:
murata 2017-01-21 14:02:12 +09:00 committed by Andrew Tridgell
parent 81ef065c53
commit 474569c91b

View File

@ -26,13 +26,13 @@ void flush_console_to_statustext() {
void console_loopback() {
int a = hal.console->available();
if (a > 0) {
hal.console->print("Console loopback:");
hal.console->printf("Console loopback:");
int r = hal.console->read();
while (r > 0) {
hal.console->write( (uint8_t) r );
r = hal.console->read();
}
hal.console->println();
hal.console->printf("\n");
}
}