From d8c8d021151f979da5363ad883aeb27509a90ed7 Mon Sep 17 00:00:00 2001 From: Marcio Ribeiro Date: Thu, 17 Oct 2024 09:37:21 -0300 Subject: [PATCH] drivers: input_esp32_touch_sensor: missing header file bugfix Adds intc_esp32.h missing header file and remove unused code Signed-off-by: Marcio Ribeiro --- drivers/input/input_esp32_touch_sensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input_esp32_touch_sensor.c b/drivers/input/input_esp32_touch_sensor.c index feb8fe6a6762..e74bac0a6a4d 100644 --- a/drivers/input/input_esp32_touch_sensor.c +++ b/drivers/input/input_esp32_touch_sensor.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -80,7 +81,6 @@ struct esp32_touch_sensor_data { static void esp32_touch_sensor_interrupt_cb(void *arg) { const struct device *dev = arg; - struct esp32_touch_sensor_data *dev_data = dev->data; const struct esp32_touch_sensor_config *dev_cfg = dev->config; const struct esp32_touch_sensor_channel_config *channel_cfg; const int num_channels = dev_cfg->num_channels;