From 1f810fa2efb13e68a9ffe59d1b1ab464c35ff033 Mon Sep 17 00:00:00 2001 From: Alexander B Date: Sat, 4 Jan 2025 23:03:10 -0500 Subject: [PATCH] RC --- ESP-IDF_Robot_RC/build/.ninja_lock | 0 ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref | 2 +- ESP-IDF_Robot_RC/main/espnow_example_main.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 ESP-IDF_Robot_RC/build/.ninja_lock diff --git a/ESP-IDF_Robot_RC/build/.ninja_lock b/ESP-IDF_Robot_RC/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref index 5ef264435..e810c9d26 100644 --- a/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot_RC/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -b05a921fe5a7cd42859ebb0b7536a24c39060f86 +1ff483386ba19719e47c6b8eb744daeefc5094f0 diff --git a/ESP-IDF_Robot_RC/main/espnow_example_main.c b/ESP-IDF_Robot_RC/main/espnow_example_main.c index 6535ad46f..f3ee62e91 100755 --- a/ESP-IDF_Robot_RC/main/espnow_example_main.c +++ b/ESP-IDF_Robot_RC/main/espnow_example_main.c @@ -96,7 +96,7 @@ void sendData (void) { buffer.motor3_rpm_pcm = 0; buffer.motor4_rpm_pcm = 0; - get_joystick_xy(&buffer.x_axis, &buffer.y_axis); + get_joystick_xy(buffer.x_axis, buffer.y_axis); // Display brief summary of data being sent. ESP_LOGI(TAG, "Joystick (x,y) position ( %d, %d )", buffer.x_axis, buffer.y_axis);