Просмотр исходного кода

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>
Min Seok Kim 4 лет назад
Родитель
Сommit
020f20e45e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c

+ 1 - 1
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