mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_SITL: Unify from print or println to printf.
This commit is contained in:
parent
3200f24106
commit
67fdbf5c2d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue