Added comment in test-app

pull/551/head
Daniele Lacamera 2025-02-20 16:20:05 +01:00
parent 9b4278265e
commit ea79b86fb1
1 changed files with 2 additions and 3 deletions

View File

@ -77,18 +77,17 @@ void main(void)
hal_init(); hal_init();
if (bootVer == 1) { if (bootVer == 1) {
/* Blue LED ON, GPIOA port A pin 20 */
GPIO_PinWrite(GPIOA, 20, 0); GPIO_PinWrite(GPIOA, 20, 0);
wolfBoot_update_trigger(); wolfBoot_update_trigger();
} }
else { else {
/* Green LED GPIOA port A pin 19 */ /* Green LED ON, GPIOA port A pin 19 */
GPIO_PinWrite(GPIOA, 19, 0); GPIO_PinWrite(GPIOA, 19, 0);
/* mark boot successful */ /* mark boot successful */
wolfBoot_success(); wolfBoot_success();
} }
/* busy wait */ /* busy wait */
while (1) { while (1) {
__WFI(); __WFI();