mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 07:56:15 +00:00
ESP IDF Robot
This commit is contained in:
@@ -140,6 +140,7 @@ void app_main(void)
|
||||
|
||||
// Set pin interrupt
|
||||
gpio_set_intr_type(PUSH_BTN_GPIO, GPIO_INTR_ANYEDGE);
|
||||
gpio_evt_queue = xQueueCreate(10, sizeof(unit32_t));
|
||||
|
||||
configure_button();
|
||||
|
||||
|
Reference in New Issue
Block a user