ESP-NOW-Transmitter

This commit is contained in:
2025-06-17 11:55:57 -04:00
parent 548672dac2
commit 0eebbca3fd

View File

@@ -46,7 +46,7 @@ static void joystick_show_raw_xy() {
ESP_LOGI("(x,y)", "( %d, %d )", x, y);
}
static void get_joystick_xy(int* x_axis, int* y_axis) {
static void get_joystick_xy(int *x_axis, int *y_axis) {
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC1_CHANNEL_0, &x_axis));
ESP_ERROR_CHECK(adc_oneshot_read(adc_xy_handle, ADC1_CHANNEL_1, &y_axis));
}