make updater reboot after successful update

This commit is contained in:
Mario Hüttel 2021-04-08 21:37:49 +02:00
parent 72735915ee
commit 5fb1612773
1 changed files with 1 additions and 4 deletions

View File

@ -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();
} }