Merge branch 'bugfix/clear_intr_status_when_enable_intr' into 'master'

driver(gpio): fix the gpio interrupt false triggering issue

See merge request idf/esp-idf!2498
This commit is contained in:
Wang Jia Lin
2018-07-17 15:44:00 +08:00
3 changed files with 26 additions and 5 deletions

View File

@@ -249,13 +249,13 @@ esp_err_t gpio_config(const gpio_config_t *pGPIOConfig);
/**
* @brief Reset an gpio to default state (select gpio function, enable pullup and disable input and output).
*
*
* @param gpio_num GPIO number.
*
*
* @note This function also configures the IOMUX for this pin to the GPIO
* function, and disconnects any other peripheral output configured via GPIO
* Matrix.
*
*
* @return Always return ESP_OK.
*/
esp_err_t gpio_reset_pin(gpio_num_t gpio_num);