From 45b50c77520c12f38424f3a8aad36221852dff5a Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 17 Jun 2025 01:07:28 -0400 Subject: [PATCH] Code comments --- ESP-IDF_Robot/main/blink_example_main.c | 4 ++-- 1 file 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 8ea0b6ea9..a04b96423 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -312,8 +312,8 @@ static void display_chip_temperature () { void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_len) { memcpy(&buf, data, sizeof(buf)); // Write buffer into the struct - rc_x = buf.x_axis; - rc_y = buf.y_axis; + rc_x = buf.x_axis; // Save x-axis value + rc_y = buf.y_axis; // s update_pwm(rc_x, rc_y); }