lin
2025-04-29 67d159bd47b6cf87700657ef6308f0f69fb8a723
feat(fix): fixed the problem of reboot stuck

Signed-off-by: lin <lin@kickpi.com>
2 files modified
4 ■■■■ changed files
longan/brandy/arisc/ar100s/system/daemon/daemon.c 2 ●●● patch | view | raw | blame | history
longan/brandy/arisc/ar100s/system/debugger/debugger.c 2 ●●● patch | view | raw | blame | history
longan/brandy/arisc/ar100s/system/daemon/daemon.c
....@@ -94,7 +94,7 @@
9494
9595 /* daemon & message & user defined task loop process */
9696 LOG("daemon service setup...\n");
97
- while (0) {
97
+ while (1) {
9898 /* message loop process */
9999 message_process_loop();
100100
longan/brandy/arisc/ar100s/system/debugger/debugger.c
....@@ -36,7 +36,7 @@
3636 s32 debugger_init(void)
3737 {
3838 /* initialize serial module */
39
- uart_init();
39
+ //uart_init();
4040 #ifdef CFG_SHELL_USED
4141 extern s32 getcmd(void *parg);
4242 install_isr(INTC_R_UART_IRQ, getcmd, NULL);