AP_HAL_SITL: Unify from print or println to printf.

This commit is contained in:
murata 2017-01-21 13:54:43 +09:00 committed by Andrew Tridgell
parent 3200f24106
commit 67fdbf5c2d
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ void Scheduler::system_initialized() {
void Scheduler::sitl_end_atomic() { void Scheduler::sitl_end_atomic() {
if (_nested_atomic_ctr == 0) { if (_nested_atomic_ctr == 0) {
hal.uartA->println("NESTED ATOMIC ERROR"); hal.uartA->printf("NESTED ATOMIC ERROR\n");
} else { } else {
_nested_atomic_ctr--; _nested_atomic_ctr--;
} }
@ -143,7 +143,7 @@ void Scheduler::sitl_end_atomic() {
void Scheduler::reboot(bool hold_in_bootloader) void Scheduler::reboot(bool hold_in_bootloader)
{ {
hal.uartA->println("REBOOT NOT IMPLEMENTED\r\n"); hal.uartA->printf("REBOOT NOT IMPLEMENTED\r\n\n");
} }
void Scheduler::_run_timer_procs(bool called_from_isr) void Scheduler::_run_timer_procs(bool called_from_isr)