mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-23 06:48:53 +00:00
V1.0.6
This commit is contained in:
@@ -101,12 +101,11 @@ void serial_thread_entry(void *parameter)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
g_exit = 1;
|
||||
printf("test_uart received %d bytes, then exit\n", cnt);
|
||||
rt_sem_detach(&rx_sem);
|
||||
rt_thread_delete(rt_thread_self());
|
||||
rt_device_close(serial);
|
||||
g_exit = 1;
|
||||
rt_thread_delete(rt_thread_self());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user