diff --git a/main/ugv_io.cc b/main/ugv_io.cc index 95e78fa..fd9c8b3 100644 --- a/main/ugv_io.cc +++ b/main/ugv_io.cc @@ -23,8 +23,8 @@ static const char *TAG = "ugv_io"; } static constexpr mcpwm_unit_t MCPWM_UNIT = MCPWM_UNIT_0; -static constexpr gpio_num_t MOTOR_LEFT_PWM = GPIO_NUM_0; -static constexpr gpio_num_t MOTOR_LEFT_DIR = GPIO_NUM_2; +static constexpr gpio_num_t MOTOR_LEFT_PWM = GPIO_NUM_2; +static constexpr gpio_num_t MOTOR_LEFT_DIR = GPIO_NUM_0; static constexpr gpio_num_t MOTOR_RIGHT_PWM = GPIO_NUM_12; static constexpr gpio_num_t MOTOR_RIGHT_DIR = GPIO_NUM_16;