Skip to content

Commit b5c791c

Browse files
committed
Touch Sensor IDF Refactoring
1 parent be005fe commit b5c791c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cores/esp32/esp32-hal-touch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ bool touchInterruptGetLastStatus(uint8_t pin);
7979
#endif
8080

8181

82+
#endif // SOC_TOUCH_SENSOR_NUM > 0
83+
8284
#ifdef __cplusplus
8385
}
8486
#endif
85-
#endif // SOC_TOUCH_SENSOR_NUM > 0
8687
#endif /* MAIN_ESP32_HAL_TOUCH_H_ */

0 commit comments

Comments
 (0)