This commit is contained in:
2025-01-04 23:10:14 -05:00
parent a433ece0e4
commit 7aa22c82c7

View File

@@ -99,6 +99,8 @@ void sendData (void) {
get_joystick_xy(&x, &y);
ESP_LOGI("(x, y)", "[ %d, %d ]", x, y);
buffer.x_axis = x;
buffer.y_axis = y;
// Display brief summary of data being sent.
ESP_LOGI(TAG, "Joystick (x,y) position ( %d, %d )", buffer.x_axis, buffer.y_axis);