fix(examples): Add changes required to some examples
This commit is contained in:
parent
88cda9ff59
commit
bf90cbd183
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ Method to print the touchpad by which ESP32
|
||||||
has been awaken from sleep
|
has been awaken from sleep
|
||||||
*/
|
*/
|
||||||
void print_wakeup_touchpad() {
|
void print_wakeup_touchpad() {
|
||||||
touchPin = esp_sleep_get_touchpad_wakeup_status();
|
touchPin = (touch_pad_t)esp_sleep_get_touchpad_wakeup_status();
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
switch (touchPin) {
|
switch (touchPin) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue