From 01bae4769477f95b120d982af1f56aca9763180b Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 21 Dec 2024 23:41:05 -0500 Subject: [PATCH] ESP IDF Robot --- ESP-IDF_Robot/main/blink_example_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index ea5499267..f85347284 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -119,6 +119,9 @@ static void configure_button (void) { void app_main(void) { + // Initialize the config structure. + gpio_config_t io_conf = {}; + /* Configure the peripheral according to the LED type */ configure_led(); configure_button();