make updater reboot after successful update
This commit is contained in:
parent
72735915ee
commit
5fb1612773
@ -235,15 +235,12 @@ int ram_code_main(void)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uart_send_string("Programming completed successfully!\r\n");
|
uart_send_string("Programming completed successfully!\r\n");
|
||||||
|
ram_code_exit(true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (retries > 0);
|
} while (retries > 0);
|
||||||
|
|
||||||
if (res) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
__WFI();
|
__WFI();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user