mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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:
parent
d7bb5c4218
commit
020f20e45e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user