Skip to content

Commit f8bed68

Browse files
committed
Touch Sensor IDF Refactoring
1 parent 3f70195 commit f8bed68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/esp32-hal-touch.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ static void __touchDettachInterrupt(uint8_t pin)
216216
{
217217
__touchConfigInterrupt(pin, NULL, NULL, 0, false); // userFunc as NULL acts as dettaching
218218
}
219+
220+
219221
/*
220222
External Public Touch API Functions
221223
*/
@@ -242,8 +244,6 @@ bool touchInterruptGetLastStatus(uint8_t pin) {
242244
}
243245
#endif
244246

245-
246-
247247
extern uint32_t touchRead(uint8_t) __attribute__ ((weak, alias("__touchRead")));
248248
extern void touchAttachInterrupt(uint8_t, voidFuncPtr, uint32_t) __attribute__ ((weak, alias("__touchAttachInterrupt")));
249249
extern void touchAttachInterruptArg(uint8_t, voidArgFuncPtr, void *, uint32_t) __attribute__ ((weak, alias("__touchAttachArgsInterrupt")));

0 commit comments

Comments
 (0)