mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-16 06:14:17 +00:00
ESP-IDF Robot Controls
This commit is contained in:
@@ -766,7 +766,7 @@ void app_main(void)
|
||||
gpio_set_intr_type(NAV_BTN, GPIO_INTR_NEGEDGE);//ANYEDGE);
|
||||
gpio_evt_queue = xQueueCreate(10, sizeof(uint32_t));
|
||||
xTaskCreate(gpio_task, "GPIO task", 2048, NULL, 10, NULL);
|
||||
gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
|
||||
//gpio_install_isr_service(ESP_INTR_FLAG_DEFAULT);
|
||||
gpio_isr_handler_add(NAV_BTN, gpio_isr_handler, (void*) NAV_BTN);
|
||||
|
||||
configure_button();
|
||||
|
Reference in New Issue
Block a user