diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-07-25 13:27:22 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-07-29 11:40:54 -0400 |
commit | 2d74b3d358b52b4bc5a301f6aca05690bd6cb941 (patch) | |
tree | 91b7ab92c216579860e64bba1cad82d6a4511abc | |
parent | 18ff84aa04c3dbf39166d4bad210e91a9381960f (diff) | |
download | kutter-2d74b3d358b52b4bc5a301f6aca05690bd6cb941.tar.gz kutter-2d74b3d358b52b4bc5a301f6aca05690bd6cb941.tar.xz kutter-2d74b3d358b52b4bc5a301f6aca05690bd6cb941.zip |
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 <kevin@koconnor.net>
-rw-r--r-- | src/generic/canserial.c | 3 |
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 |