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);