From f091d320fe894068f7ce06fd877f0ce215f31c5a Mon Sep 17 00:00:00 2001 From: lewisxhe Date: Wed, 14 Aug 2024 17:23:21 +0800 Subject: [PATCH] Fix idf compile error --- src/TouchDrvCST92xx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TouchDrvCST92xx.h b/src/TouchDrvCST92xx.h index 41c16de..00d2100 100644 --- a/src/TouchDrvCST92xx.h +++ b/src/TouchDrvCST92xx.h @@ -61,9 +61,6 @@ class TouchDrvCST92xx : public TouchDrvInterface, #if defined(ARDUINO) TouchDrvCST92xx(); - - void jumpCheck(); - bool begin(PLATFORM_WIRE_TYPE &wire, uint8_t address, int sda, int scl); #elif defined(ESP_PLATFORM) @@ -74,6 +71,9 @@ class TouchDrvCST92xx : public TouchDrvInterface, #endif //ESP_IDF_VERSION #endif + void jumpCheck(); + + bool begin(uint8_t addr, iic_fptr_t readRegCallback, iic_fptr_t writeRegCallback);