fix when open samrt but using msh after run elf file the msh will down
This commit is contained in:
parent
680333fc18
commit
9c164882e8
@ -232,7 +232,7 @@ static void serial_tty_close(struct lwp_tty *tp)
|
||||
|
||||
LOG_D("%s", __func__);
|
||||
|
||||
_restore_serial(serial, tp, softc);
|
||||
rt_bypass_lower_unregister(serial, RT_BYPASS_PROTECT_LEVEL_1);
|
||||
rt_device_close(&serial->parent);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user