From b5fef05f94f5cfb6a4b27aebf4e82e22fcb45188 Mon Sep 17 00:00:00 2001 From: Siddharth Purohit Date: Tue, 19 Dec 2023 16:26:07 +1100 Subject: [PATCH] AP_Bootloader: fix build for bootloader --- AP_Bootloader/bl_protocol.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AP_Bootloader/bl_protocol.cpp b/AP_Bootloader/bl_protocol.cpp index a5f2a7d..121ad92 100644 --- a/AP_Bootloader/bl_protocol.cpp +++ b/AP_Bootloader/bl_protocol.cpp @@ -232,9 +232,10 @@ do_jump(uint32_t stacktop, uint32_t entrypoint) void jump_to_app() { +#ifdef HAL_GPIO_PIN_LED_SCK // Reset LEDs profiLED_reset_LEDs(4); - +#endif const uint32_t *app_base = (const uint32_t *)(APP_START_ADDRESS); // If we have QSPI chip start it