Skip to content

Commit d8c8d02

Browse files
wmrsouzadleach02
authored andcommitted
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 <marcio.ribeiro@espressif.com>
1 parent c71197f commit d8c8d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/input_esp32_touch_sensor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <zephyr/input/input.h>
1111
#include <zephyr/kernel.h>
1212
#include <zephyr/logging/log.h>
13+
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>
1314

1415
#include <esp_err.h>
1516
#include <soc/soc_pins.h>
@@ -80,7 +81,6 @@ struct esp32_touch_sensor_data {
8081
static void esp32_touch_sensor_interrupt_cb(void *arg)
8182
{
8283
const struct device *dev = arg;
83-
struct esp32_touch_sensor_data *dev_data = dev->data;
8484
const struct esp32_touch_sensor_config *dev_cfg = dev->config;
8585
const struct esp32_touch_sensor_channel_config *channel_cfg;
8686
const int num_channels = dev_cfg->num_channels;

0 commit comments

Comments
 (0)