From 020f20e45e5a00661ca8af4a5165f1c97eca74cd Mon Sep 17 00:00:00 2001 From: Min Seok Kim Date: Wed, 3 Nov 2021 14:19:56 +0900 Subject: [PATCH] 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 --- examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c b/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c index faf584b48e..15e20ae030 100644 --- a/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c +++ b/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c @@ -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