修正 reset_fc 的逻辑

Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
2024-01-25 09:09:43 +08:00
parent 12dbf59150
commit 64c191ce47

View File

@@ -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();