diff --git a/components/drivers/sensors/sensor.h b/components/drivers/sensors/sensor.h index df70e96690440acd67422446ae0fd359bb537703..5f8b451be6d756aff3ee198499f028265b2da815 100755 --- a/components/drivers/sensors/sensor.h +++ b/components/drivers/sensors/sensor.h @@ -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 - -#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