update package/STM32G030Booter/main.c.

This commit is contained in:
李昂 2021-12-28 09:07:32 +00:00 committed by Gitee
parent 640a751513
commit 276738a5a0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -127,12 +127,9 @@ int main(void) {
goto main_loop; goto main_loop;
main_loop: main_loop:
while (1) { pikaScriptShell(pikaMain);
if(Shell_Ready){ /* after exit() from pika shell */
Shell_Ready = 0; NVIC_SystemReset();
obj_run(pikaMain, Shell_Buff);
}
}
} }
/** /**