From 2d74b3d358b52b4bc5a301f6aca05690bd6cb941 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 25 Jul 2022 13:27:22 -0400 Subject: [PATCH] canserial: Request bootloader via bootloader_request() Use bootloader_request() instead of try_request_canboot(). This allows the bootloader machanism to work for more bootloaders. Signed-off-by: Kevin O'Connor --- src/generic/canserial.c | 3 +-- 1 file changed, 1 insertion(+), 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 // 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