From fc43d944a57ca917521ab8d83178b37b0962d473 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Thu, 2 Jan 2025 02:49:50 -0500 Subject: [PATCH] ESP32-C3 RC --- ESP-IDF_Robot/main/blink_example_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index db91a9bbe..ba8ced029 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -738,8 +738,7 @@ static void continuous_adc_init(adc_channel_t *channel, uint8_t channel_num, adc void motors_task (void *pvParameter) {} static void led_task (void *arg) { - while(1) - { + while(1) { ESP_LOGI(TAG, "Turning the LED %s!", s_led_state == true ? "ON" : "OFF"); gpio_set_level(BLINK_GPIO, s_led_state); vTaskDelay(CONFIG_BLINK_PERIOD / portTICK_PERIOD_MS);