[sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。

This commit is contained in:
guozhanxin 2019-06-13 15:15:31 +08:00
parent 1ec6f5b101
commit 44abc90990
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ static void sensor_show_data(rt_size_t num, rt_sensor_t sensor, struct rt_sensor
}
}
rt_err_t rx_callback(rt_device_t dev, rt_size_t size)
static rt_err_t rx_callback(rt_device_t dev, rt_size_t size)
{
rt_sem_release(sensor_rx_sem);
return 0;