AP_Notify: Unify from print or println to printf.

This commit is contained in:
murata 2017-01-21 13:58:05 +09:00 committed by Andrew Tridgell
parent 2d32211c81
commit 3ce2ca488a
2 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ AP_BoardLED board_led;
void setup()
{
hal.console->println("AP_Notify library test");
hal.console->printf("AP_Notify library test\n");
// initialise the board leds
board_led.init();

View File

@ -9,14 +9,14 @@ static ToshibaLED_I2C toshiba_led;
void setup(void)
{
// display welcome message
hal.console->print("Toshiba LED test ver 0.1\n");
hal.console->printf("Toshiba LED test ver 0.1\n");
// initialise LED
toshiba_led.init();
// check if healthy
if (!toshiba_led.healthy()) {
hal.console->print("Failed to initialise Toshiba LED\n");
hal.console->printf("Failed to initialise Toshiba LED\n");
}
// turn on initialising notification
@ -30,11 +30,11 @@ void setup(void)
void loop(void)
{
// blink test
//hal.console->print("Blink test\n");
//hal.console->printf("Blink test\n");
//blink();
/*
// full spectrum test
hal.console->print("Spectrum test\n");
hal.console->printf("Spectrum test\n");
full_spectrum();
*/