[sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。
This commit is contained in:
parent
1ec6f5b101
commit
44abc90990
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue