mirror of https://github.com/wolfSSL/wolfBoot.git
Added comment in test-app
parent
9b4278265e
commit
ea79b86fb1
|
@ -77,18 +77,17 @@ void main(void)
|
|||
|
||||
hal_init();
|
||||
if (bootVer == 1) {
|
||||
/* Blue LED ON, GPIOA port A pin 20 */
|
||||
GPIO_PinWrite(GPIOA, 20, 0);
|
||||
wolfBoot_update_trigger();
|
||||
}
|
||||
else {
|
||||
/* Green LED GPIOA port A pin 19 */
|
||||
/* Green LED ON, GPIOA port A pin 19 */
|
||||
GPIO_PinWrite(GPIOA, 19, 0);
|
||||
/* mark boot successful */
|
||||
wolfBoot_success();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* busy wait */
|
||||
while (1) {
|
||||
__WFI();
|
||||
|
|
Loading…
Reference in New Issue