mirror of https://github.com/ArduPilot/ardupilot
AP_Declination: Unify from print or println to printf.
This commit is contained in:
parent
50eead63cc
commit
37873717de
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue