mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 11:48:48 +00:00
pcm
This commit is contained in:
@@ -72,7 +72,6 @@ static int check_motor_pcm(int x) {
|
||||
// IMPORTANT: x and y values correspod to the PWM!
|
||||
static void update_pwm (int rc_x, int rc_y) {
|
||||
|
||||
//m.motor1_rpm_pcm = check_motor_pcm(rescale_raw_val(x));
|
||||
x = check_motor_pcm(rescale_raw_val(rc_x));
|
||||
y = check_motor_pcm(rescale_raw_val(rc_y));
|
||||
//ESP_LOGI("x,y", "( %d, %d ) [ %d, %d] ", rc_x, rc_y, x, y);
|
||||
|
Reference in New Issue
Block a user