mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 06:04:33 +02:00
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user