Merge branch 'bugfix/gpio_interrupt_on_app_cpu' into 'master'

gpio: Fix the bug that esp32 gpio interrupt cannot be triggered on core 1

Closes IDFGH-5900

See merge request espressif/esp-idf!15901
pull/7903/head
Song Ruo Jing 2021-11-11 12:28:53 +00:00
commit 2c606c29b1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -239,7 +239,7 @@ static inline void gpio_ll_get_intr_status(gpio_dev_t *hw, uint32_t core_id, uin
*/
static inline void gpio_ll_get_intr_status_high(gpio_dev_t *hw, uint32_t core_id, uint32_t *status)
{
*status = (core_id == 0) ? HAL_FORCE_READ_U32_REG_FIELD(hw->pcpu_int1, intr) : HAL_FORCE_READ_U32_REG_FIELD(hw->pcpu_int1, intr);
*status = (core_id == 0) ? HAL_FORCE_READ_U32_REG_FIELD(hw->pcpu_int1, intr) : HAL_FORCE_READ_U32_REG_FIELD(hw->acpu_int1, intr);
}
/**