Skip to content

Commit 7d81f2d

Browse files
author
luo jiao
committed
rename file with sample suffix
1 parent 5d1f77d commit 7d81f2d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

block/introduction.md

Whitespace-only changes.

serial/uart_sample.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ static void serial_thread_entry(void* parameter)
2525
if (serial2 != RT_NULL)
2626
{
2727
rt_sem_init(&rx_sem, "rx_sem", 0, RT_IPC_FLAG_FIFO);
28-
/* 设置回调函数及打开设备 */
28+
/* 以读写及中断接收方式打开串口设备 */
2929
rt_device_open(serial2, RT_DEVICE_OFLAG_RDWR|RT_DEVICE_FLAG_INT_RX);
3030
/* 设置回调函数 */
3131
rt_device_set_rx_indicate(serial2, uart_input);

0 commit comments

Comments
 (0)