Skip to content

Commit

Permalink
blackpill: Use the bootloader LED macro in the dfu_event function
Browse files Browse the repository at this point in the history
  • Loading branch information
sidprice committed Aug 29, 2024
1 parent a80a60d commit 4e8888c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/common/blackpill-f4/usbdfu.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void dfu_event(void)
/* Ask systick to pause blinking for 1 second */
dfu_activity_counter = 10U;
/* Toggle-blink it ourself */
SET_IDLE_STATE(idle_state);
SET_BOOTLOADER_STATE(idle_state);
idle_state = !idle_state;
}

Expand Down

0 comments on commit 4e8888c

Please sign in to comment.