We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb63d6 commit 84e2a6cCopy full SHA for 84e2a6c
cores/esp32/esp32-hal-touch.c
@@ -29,7 +29,7 @@
29
#if SOC_TOUCH_SENSOR_VERSION == 1 // ESP32
30
static uint16_t __touchSleepCycles = 0x1000;
31
static uint16_t __touchMeasureCycles = 0x1000;
32
-#elif SOC_TOUCH_SENSOR_VERSION == 2 // ESP32S2, ESP32S3
+#elif SOC_TOUCH_SENSOR_VERSION >= 2 // ESP32S2, ESP32S3, ESP32P4
33
static uint16_t __touchSleepCycles = TOUCH_PAD_SLEEP_CYCLE_DEFAULT;
34
static uint16_t __touchMeasureCycles = TOUCH_PAD_MEASURE_CYCLE_DEFAULT;
35
#endif
0 commit comments