From 1831661c4a51219b63566728a3add97284010f9c Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 6 Nov 2022 20:06:21 -0500 Subject: [PATCH] [sensors] remvoe useless sensor.h --- components/drivers/sensors/sensor.c | 2 +- components/drivers/sensors/sensor.h | 14 -------------- components/drivers/sensors/sensor_cmd.c | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100755 components/drivers/sensors/sensor.h 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