From 2af87f2bbd5ba07d377b5a7f0ee0e96053f2d424 Mon Sep 17 00:00:00 2001
From: huangcm <1263938474@qq.com>
Date: Tue, 01 Jul 2025 02:31:28 +0000
Subject: [PATCH] Revert "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 8996d5c..043d765 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 (1) {
+	while (0) {
 		/* 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 b44570a..d5e14d0 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