From 20a6f14e893c8339654bdda08c967454e3b2c688 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sun, 25 Dec 2022 03:22:11 -0500 Subject: use PIN_IRQ_PIN_NONE to replace RT_PIN_NONE --- components/drivers/include/drivers/sensor.h | 1 - components/drivers/include/drivers/touch.h | 2 -- 2 files changed, 3 deletions(-) (limited to 'components/drivers/include') diff --git a/components/drivers/include/drivers/sensor.h b/components/drivers/include/drivers/sensor.h index f1bdf0c600..30d114fa47 100644 --- a/components/drivers/include/drivers/sensor.h +++ b/components/drivers/include/drivers/sensor.h @@ -25,7 +25,6 @@ extern "C" { #define rt_sensor_get_ts() rt_tick_get() /* API for the sensor to get the timestamp */ #endif -#define RT_PIN_NONE 0xFFFF /* RT PIN NONE */ #define RT_DEVICE_FLAG_FIFO_RX 0x200 /* Flag to use when the sensor is open by fifo mode */ #define RT_SENSOR_MODULE_MAX (3) /* The maximum number of members of a sensor module */ diff --git a/components/drivers/include/drivers/touch.h b/components/drivers/include/drivers/touch.h index 318f307081..367d132016 100644 --- a/components/drivers/include/drivers/touch.h +++ b/components/drivers/include/drivers/touch.h @@ -24,8 +24,6 @@ extern "C" { #define rt_touch_get_ts() rt_tick_get() /* API for the touch to get the timestamp */ #endif -#define RT_PIN_NONE 0xFFFF /* RT PIN NONE */ - /* Touch vendor types */ #define RT_TOUCH_VENDOR_UNKNOWN (0) /* unknown */ #define RT_TOUCH_VENDOR_GT (1) /* GTxx series */ -- cgit v1.3.1