Merge branch 'bugfix/gpio_example_typo' into 'master'

Fix typo in gpio_example_main.c (GitHub PR #7823)

Closes IDFGH-6145

See merge request espressif/esp-idf!15974
This commit is contained in:
Darian
2021-11-24 20:13:55 +00:00

View File

@@ -84,7 +84,7 @@ void app_main(void)
io_conf.pull_up_en = 1; io_conf.pull_up_en = 1;
gpio_config(&io_conf); gpio_config(&io_conf);
//change gpio intrrupt type for one pin //change gpio interrupt type for one pin
gpio_set_intr_type(GPIO_INPUT_IO_0, GPIO_INTR_ANYEDGE); gpio_set_intr_type(GPIO_INPUT_IO_0, GPIO_INTR_ANYEDGE);
//create a queue to handle gpio event from isr //create a queue to handle gpio event from isr