Skip to content

Commit

Permalink
drivers: input_esp32_touch_sensor: missing header file bugfix
Browse files Browse the repository at this point in the history
Adds intc_esp32.h missing header file and remove unused code

Signed-off-by: Marcio Ribeiro <[email protected]>
  • Loading branch information
wmrsouza authored and dleach02 committed Oct 21, 2024
1 parent c71197f commit d8c8d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/input_esp32_touch_sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <zephyr/input/input.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/drivers/interrupt_controller/intc_esp32.h>

#include <esp_err.h>
#include <soc/soc_pins.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d8c8d02

Please sign in to comment.