Skip to content

Commit 1def70f

Browse files
committed
fix(examples): Add changes required to some examples
1 parent 916bf4a commit 1def70f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP32/examples/DeepSleep/TouchWakeUp/TouchWakeUp.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Method to print the touchpad by which ESP32
4848
has been awaken from sleep
4949
*/
5050
void print_wakeup_touchpad() {
51-
touchPin = esp_sleep_get_touchpad_wakeup_status();
51+
touchPin = (touch_pad_t)esp_sleep_get_touchpad_wakeup_status();
5252

5353
#if CONFIG_IDF_TARGET_ESP32
5454
switch (touchPin) {

0 commit comments

Comments
 (0)