未验证 提交 04510cfc 编写于 作者: D David Lin 提交者: GitHub

Update sensor.h

上级 e0b00b21
......@@ -6,26 +6,7 @@
* Change Logs:
* Date Author Notes
* 2019-01-31 flybreak first version
* 2021-06-23 linpeng added function declaration
*/
#ifndef __SENSOR_H__
#define __SENSOR_H__
#include <rtthread.h>
#ifdef __cplusplus
extern "C"
{
#endif
int rt_hw_sensor_register(rt_sensor_t sensor,
const char *name,
rt_uint32_t flag,
void *data);
#ifdef __cplusplus
}
#endif
#endif /*__SENSOR_H__*/
#include <rtdevice.h>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册