summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authoryangjie11 <[email protected]>2023-03-24 23:47:28 +0800
committerGitHub <[email protected]>2023-03-24 11:47:28 -0400
commitb0c247fb59156cc368b32dd8edb66da023ab2339 (patch)
treefaff4a9522fbe70dfa5833347bdc8330e8f685e6 /components/drivers
parent6095d65679a83a45ac8816402c579b5b2714c6de (diff)
[components/drivers][touch]删除多余的touch.h (#7090)
* [components/drivers][touch]删除多余的touch.h * 将touc.h替换为rtdevice.h
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/touch/touch.c2
-rw-r--r--components/drivers/touch/touch.h12
2 files changed, 1 insertions, 13 deletions
diff --git a/components/drivers/touch/touch.c b/components/drivers/touch/touch.c
index e15ebf5b05..daec7e0286 100644
--- a/components/drivers/touch/touch.c
+++ b/components/drivers/touch/touch.c
@@ -8,7 +8,7 @@
* 2019-05-20 tyustli the first version
*/
-#include "touch.h"
+#include <rtdevice.h>
#include <string.h>
#define DBG_TAG "touch"
diff --git a/components/drivers/touch/touch.h b/components/drivers/touch/touch.h
deleted file mode 100644
index ed920c0121..0000000000
--- a/components/drivers/touch/touch.h
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2019-05-20 tyustli the first version
- */
-
-#include <rtthread.h>
-#include <rtdevice.h>