From ea67673192d24a410cadb75dfa9e08fde8bec56e Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 4 Jan 2025 23:12:09 -0500 Subject: [PATCH] RC --- ESP-IDF_Robot/main/espnow_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ESP-IDF_Robot/main/espnow_config.h b/ESP-IDF_Robot/main/espnow_config.h index 2a3e6344e..033aa5e80 100644 --- a/ESP-IDF_Robot/main/espnow_config.h +++ b/ESP-IDF_Robot/main/espnow_config.h @@ -93,8 +93,8 @@ typedef struct { // Struct holding sensors values typedef struct { uint16_t crc; // CRC16 value of ESPNOW data - uint8_t x_axis; // Joystick x-position - uint8_t y_axis; // Joystick y-position + int x_axis; // Joystick x-position + int y_axis; // Joystick y-position bool nav_bttn; // Joystick push button uint8_t motor1_rpm_pcm; // PCMs for 4 motors uint8_t motor2_rpm_pcm;