From 3c095706caba0c6dfa2ddf4113fd622462f20227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 6 Mar 2024 13:33:00 -0300 Subject: [PATCH] DroneCAN_sniffer: Use new default for reboot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .../AP_DroneCAN/examples/DroneCAN_sniffer/DroneCAN_sniffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/DroneCAN_sniffer.cpp b/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/DroneCAN_sniffer.cpp index 5745e94b76..949d52bfcf 100644 --- a/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/DroneCAN_sniffer.cpp +++ b/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/DroneCAN_sniffer.cpp @@ -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(); }