mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
DroneCAN_sniffer: Use new default for reboot
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
5b1cac268b
commit
3c095706ca
@ -252,7 +252,7 @@ void loop(void)
|
|||||||
if (hal.console->available() > 50) {
|
if (hal.console->available() > 50) {
|
||||||
hal.console->printf("rebooting\n");
|
hal.console->printf("rebooting\n");
|
||||||
hal.console->discard_input();
|
hal.console->discard_input();
|
||||||
hal.scheduler->reboot(false);
|
hal.scheduler->reboot();
|
||||||
}
|
}
|
||||||
hal.console->discard_input();
|
hal.console->discard_input();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user