From 474569c91b658dbc41ca4a4cc5c3a7f8c89209da Mon Sep 17 00:00:00 2001 From: murata Date: Sat, 21 Jan 2017 14:02:12 +0900 Subject: [PATCH] GCS_Console: Unify from print or println to printf. --- libraries/GCS_Console/examples/Console/Console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/GCS_Console/examples/Console/Console.cpp b/libraries/GCS_Console/examples/Console/Console.cpp index 4d24505565..5e177cb0e0 100644 --- a/libraries/GCS_Console/examples/Console/Console.cpp +++ b/libraries/GCS_Console/examples/Console/Console.cpp @@ -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"); } }