mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -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) {
|
||||
hal.console->printf("rebooting\n");
|
||||
hal.console->discard_input();
|
||||
hal.scheduler->reboot(false);
|
||||
hal.scheduler->reboot();
|
||||
}
|
||||
hal.console->discard_input();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user