diff --git a/ESP-IDF_Robot/build/.ninja_lock b/ESP-IDF_Robot/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref index 1e54d4deb..d0753243f 100644 --- a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -d91ef6c33dc78cf96e5842dbe0306a0e9a7c6df4 +a0ba0146a84aa699a66776554556f7893459dfc9 diff --git a/ESP-IDF_Robot/main/rc.h b/ESP-IDF_Robot/main/rc.h index 2508f71fb..668128002 100644 --- a/ESP-IDF_Robot/main/rc.h +++ b/ESP-IDF_Robot/main/rc.h @@ -89,8 +89,8 @@ static void rc_get_raw_data() { } else if ((y < 0 && y > -200) && (x > 1000)) { ESP_LOGW("RC", "RIGHT"); - m.motor1_rpm_pcm = x; - m.motor2_rpm_pcm = 0; + m.motor1_rpm_pcm = 0; + m.motor2_rpm_pcm = x; m.motor3_rpm_pcm = 0; m.motor4_rpm_pcm = 0; }