Code comments

This commit is contained in:
2025-06-17 01:07:44 -04:00
parent 379810f785
commit 58d2f42dca

View File

@@ -313,7 +313,7 @@ void onDataReceived (const uint8_t *mac_addr, const uint8_t *data, uint8_t data_
memcpy(&buf, data, sizeof(buf)); // Write buffer into the struct memcpy(&buf, data, sizeof(buf)); // Write buffer into the struct
rc_x = buf.x_axis; // Save joystic x-axis value rc_x = buf.x_axis; // Save joystic x-axis value
rc_y = buf.y_axis; // Save y-axis value rc_y = buf.y_axis; // Save joystic y-axis value
update_pwm(rc_x, rc_y); update_pwm(rc_x, rc_y);
} }