From 67d159bd47b6cf87700657ef6308f0f69fb8a723 Mon Sep 17 00:00:00 2001
From: lin <lin@kickpi.com>
Date: Tue, 29 Apr 2025 10:55:44 +0000
Subject: [PATCH] feat(fix): fixed the problem of reboot stuck

---
 longan/brandy/arisc/ar100s/system/daemon/daemon.c     |    2 +-
 longan/brandy/arisc/ar100s/system/debugger/debugger.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/longan/brandy/arisc/ar100s/system/daemon/daemon.c b/longan/brandy/arisc/ar100s/system/daemon/daemon.c
index 043d765..8996d5c 100644
--- a/longan/brandy/arisc/ar100s/system/daemon/daemon.c
+++ b/longan/brandy/arisc/ar100s/system/daemon/daemon.c
@@ -94,7 +94,7 @@
 
 	/* daemon & message & user defined task loop process */
 	LOG("daemon service setup...\n");
-	while (0) {
+	while (1) {
 		/* message loop process */
 		message_process_loop();
 
diff --git a/longan/brandy/arisc/ar100s/system/debugger/debugger.c b/longan/brandy/arisc/ar100s/system/debugger/debugger.c
index d5e14d0..b44570a 100644
--- a/longan/brandy/arisc/ar100s/system/debugger/debugger.c
+++ b/longan/brandy/arisc/ar100s/system/debugger/debugger.c
@@ -36,7 +36,7 @@
 s32 debugger_init(void)
 {
 	/* initialize serial module */
-	uart_init();
+	//uart_init();
 #ifdef CFG_SHELL_USED
 	extern s32 getcmd(void *parg);
 	install_isr(INTC_R_UART_IRQ, getcmd, NULL);

--
Gitblit v1.6.2