Skip to content

Commit

Permalink
Turning red LED on on error for STM32F769I-DISCO
Browse files Browse the repository at this point in the history
  • Loading branch information
lains committed Jan 24, 2024
1 parent 9fd88e8 commit 81afc6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const unsigned int BytesPerPixel = 4; /* For ARGB8888 mode */
void OnError_Handler(uint32_t condition)
{
if(condition) {
BSP_LED_On(LED2);
BSP_LED_On(LED1);
while(1) { ; } /* Blocking on error */
}
}
Expand Down

0 comments on commit 81afc6a

Please sign in to comment.