bugfix(touch pad): modify deep-sleep example and add note for sleep api.

Closes https://github.com/espressif/esp-idf/issues/2052
This commit is contained in:
fuzhibo
2018-06-14 16:33:46 +08:00
parent c77f84e788
commit 9a0d57b90b
6 changed files with 71 additions and 31 deletions

View File

@@ -113,6 +113,9 @@ esp_err_t esp_sleep_enable_timer_wakeup(uint64_t time_in_us);
* to be powered on (ESP_PD_OPTION_ON) or when ext0 wakeup
* source is used.
*
* @note The FSM mode of the touch button should be configured
* as the timer trigger mode.
*
* @return
* - ESP_OK on success
* - ESP_ERR_INVALID_STATE if wakeup triggers conflict