gpio: Fixed typo in generic_gpio example

Closes https://github.com/espressif/esp-idf/pull/7823

[darian@espressif.com: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
This commit is contained in:
Min Seok Kim 2021-11-03 14:19:56 +09:00 committed by Darian Leung
parent d7bb5c4218
commit 020f20e45e

View File

@ -84,7 +84,7 @@ void app_main(void)
io_conf.pull_up_en = 1;
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);
//create a queue to handle gpio event from isr