From 7601bf77c14bd2e01bc12768f1d8bb384a2decc6 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 28 Dec 2024 22:44:45 -0500 Subject: [PATCH] ESP-IDF Robot Controls --- ESP-IDF_Robot/main/blink_example_main.c | 2 +- ESP-IDF_Robot/main/rc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 22c7955de..bc4275ade 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -114,7 +114,7 @@ static adc_channel_t channel[2] = {ADC_CHANNEL_0, ADC_CHANNEL_1}; #endif // Declare struct to hold motors RPMs -Motors *m; +//Motors *m; static QueueHandle_t gpio_evt_queue = NULL; static uint8_t s_led_state = 0; diff --git a/ESP-IDF_Robot/main/rc.h b/ESP-IDF_Robot/main/rc.h index 221c88228..980aa3053 100644 --- a/ESP-IDF_Robot/main/rc.h +++ b/ESP-IDF_Robot/main/rc.h @@ -15,7 +15,7 @@ //static const char *TAG = "ESP IDF Robot"; -//Motors *motors; +Motors *m; static int adc_raw[2][10];