diff --git a/components/drivers/sensors/sensor.c b/components/drivers/sensors/sensor.c index aa190ada71..cbd149317e 100644 --- a/components/drivers/sensors/sensor.c +++ b/components/drivers/sensors/sensor.c @@ -9,7 +9,7 @@ * 2020-02-22 luhuadong support custom commands */ -#include "sensor.h" +#include #define DBG_TAG "sensor" #define DBG_LVL DBG_INFO diff --git a/components/drivers/sensors/sensor.h b/components/drivers/sensors/sensor.h deleted file mode 100755 index 761ee49b4c..0000000000 --- a/components/drivers/sensors/sensor.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2006-2021, RT-Thread Development Team - * - * SPDX-License-Identifier: Apache-2.0 - * - * Change Logs: - * Date Author Notes - * 2019-01-31 flybreak first version - */ - - -#include -#include - diff --git a/components/drivers/sensors/sensor_cmd.c b/components/drivers/sensors/sensor_cmd.c index 1ff2b37362..0410af4853 100755 --- a/components/drivers/sensors/sensor_cmd.c +++ b/components/drivers/sensors/sensor_cmd.c @@ -10,7 +10,7 @@ * 2020-02-22 luhuadong Add vendor info and sensor types for cmd */ -#include "sensor.h" +#include #define DBG_TAG "sensor.cmd" #define DBG_LVL DBG_INFO