From f1af6be009cb493c8555cf693fc68b7520ade4b5 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 10 Dec 2020 16:09:05 -0800 Subject: [PATCH] blink the blue led --- firmware/bootloader/bootloader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/bootloader/bootloader.cpp b/firmware/bootloader/bootloader.cpp index af855e2..dcdca8c 100644 --- a/firmware/bootloader/bootloader.cpp +++ b/firmware/bootloader/bootloader.cpp @@ -189,11 +189,12 @@ int main(void) { halInit(); chSysInit(); - palSetPadMode(GPIOB, 3, PAL_MODE_OUTPUT_PUSHPULL); + // PB5 is blue LED + palSetPadMode(GPIOB, 5, PAL_MODE_OUTPUT_PUSHPULL); for (size_t i = 0; i < 20; i++) { - palTogglePad(GPIOB, 3); + palTogglePad(GPIOB, 5); chThdSleepMilliseconds(40); }