Skip to content

Commit 84e2a6c

Browse files
committed
fix(esp32p4): Start touch driver fix
1 parent 2eb63d6 commit 84e2a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-touch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#if SOC_TOUCH_SENSOR_VERSION == 1 // ESP32
3030
static uint16_t __touchSleepCycles = 0x1000;
3131
static uint16_t __touchMeasureCycles = 0x1000;
32-
#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
32+
#elif SOC_TOUCH_SENSOR_VERSION >= 2 // ESP32S2, ESP32S3, ESP32P4
3333
static uint16_t __touchSleepCycles = TOUCH_PAD_SLEEP_CYCLE_DEFAULT;
3434
static uint16_t __touchMeasureCycles = TOUCH_PAD_MEASURE_CYCLE_DEFAULT;
3535
#endif

0 commit comments

Comments
 (0)