mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
[components][drivers][sensor]暂时禁止使用sensorv2框架
sensor v2框架仍在开发中
This commit is contained in:
@@ -238,7 +238,7 @@ struct rt_sensor_data
|
||||
|
||||
struct rt_sensor_ops
|
||||
{
|
||||
rt_size_t (*fetch_data)(struct rt_sensor_device *sensor, void *buf, rt_size_t len);
|
||||
rt_ssize_t (*fetch_data)(struct rt_sensor_device *sensor, void *buf, rt_size_t len);
|
||||
rt_err_t (*control)(struct rt_sensor_device *sensor, int cmd, void *arg);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user