From 64c191ce472d85d8f8c66b01e1124b5132a114b8 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Thu, 25 Jan 2024 09:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20reset=5Ffc=20=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: a1012112796 <1012112796@qq.com> --- board/board.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/board.c b/board/board.c index 334c7df..8b92061 100644 --- a/board/board.c +++ b/board/board.c @@ -84,9 +84,6 @@ static void reset_fc(int argc, char **argv) } rt_kprintf("\n the system will be reset after %ds\n", second); - rt_enter_critical(); - rt_console_set_device(RT_NULL); - rt_exit_critical(); rt_thread_delay(1000 * second); rt_hw_cpu_reset();