AP_Declination: Unify from print or println to printf.

This commit is contained in:
murata 2017-01-21 13:53:27 +09:00 committed by Andrew Tridgell
parent 50eead63cc
commit 37873717de
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ void setup(void)
uint16_t pass = 0, fail = 0;
uint32_t total_time=0;
hal.console->print("Beginning Test. Please wait...\n");
hal.console->printf("Beginning Test. Please wait...\n");
for(int16_t i = -90; i <= 90; i+=5)
{
@ -105,7 +105,7 @@ void setup(void)
}
}
}
hal.console->print("Ending Test.\n\n");
hal.console->printf("Ending Test.\n\n");
hal.console->printf("Total Pass: %i\n", pass);
hal.console->printf("Total Fail: %i\n", fail);
hal.console->printf("Average time per call: %.1f usec\n",