aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/generic/canserial.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/generic/canserial.c b/src/generic/canserial.c
index 34f0ce65..8062cfe3 100644
--- a/src/generic/canserial.c
+++ b/src/generic/canserial.c
@@ -7,7 +7,6 @@
// This file may be distributed under the terms of the GNU GPLv3 license.
#include <string.h> // memcpy
-#include "board/armcm_reset.h" // try_request_canboot
#include "board/io.h" // readb
#include "board/irq.h" // irq_save
#include "board/misc.h" // console_sendf
@@ -188,7 +187,7 @@ can_process_request_bootloader(struct canbus_msg *msg)
{
if (!can_check_uuid(msg))
return;
- try_request_canboot();
+ bootloader_request();
}
// Handle an "admin" command