From 00bd20ae41c00d783d43f37d8a63dbefbf6a3e8d Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 17 Jun 2025 23:44:47 -0400 Subject: [PATCH] ESP-NOW Transmitter --- ESP32-IDF_ESPNOW-Transmitter/main/joystick.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP32-IDF_ESPNOW-Transmitter/main/joystick.h b/ESP32-IDF_ESPNOW-Transmitter/main/joystick.h index b8805bc85..bc2795b04 100644 --- a/ESP32-IDF_ESPNOW-Transmitter/main/joystick.h +++ b/ESP32-IDF_ESPNOW-Transmitter/main/joystick.h @@ -11,7 +11,7 @@ #include "freertos/timers.h" #include "esp_event.h"*/ -#include "config.h" +//#include "config.h" //static int x, y; // Joystick x and y positions //static adc_oneshot_unit_handle_t adc_xy_handle; @@ -27,7 +27,7 @@ typedef struct { uint8_t motor4_rpm_pcm; } __attribute__((packed)) sensors_data_t; -int x, y; // Joystick x and y positions +static int x, y; // Joystick x and y positions adc_oneshot_unit_handle_t adc_xy_handle; sensors_data_t buffer;