diff --git a/include/pros/motor_group.hpp b/include/pros/motor_group.hpp index 93320c63..f99576e0 100644 --- a/include/pros/motor_group.hpp +++ b/include/pros/motor_group.hpp @@ -757,7 +757,7 @@ class MotorGroup : public virtual AbstractMotor { * * EDOM - THe motor group is empty * - * \return A vecotr containing each motor's efficiency in percent or PROS_ERR_F if the operation + * \return A vector containing each motor's efficiency in percent or PROS_ERR_F if the operation * failed, setting errno. * * \b Example @@ -1106,7 +1106,7 @@ class MotorGroup : public virtual AbstractMotor { * ENODEV - The port cannot be configured as a motor * EDOM - The motor group is empty * - * \return A vecotr of each motor's temperature in degrees Celsius or PROS_ERR_F if the + * \return A vector of each motor's temperature in degrees Celsius or PROS_ERR_F if the * operation failed, setting errno. * * \b Example @@ -1319,7 +1319,7 @@ class MotorGroup : public virtual AbstractMotor { */ std::int32_t is_over_temp(const std::uint8_t index = 0) const; /** - * Gets a vecotr with the temperature limit flag for each motor in the motor group. + * Gets a vector with the temperature limit flag for each motor in the motor group. * * This function uses the following values of errno when an error state is * reached: @@ -1376,7 +1376,7 @@ class MotorGroup : public virtual AbstractMotor { */ MotorBrake get_brake_mode(const std::uint8_t index = 0) const; /** - * Gets a vecotr with the brake mode that was set for each motor in the motor group. + * Gets a vector with the brake mode that was set for each motor in the motor group. * * This function uses the following values of errno when an error state is * reached: diff --git a/include/pros/motors.hpp b/include/pros/motors.hpp index a9c195e1..f0de7ebc 100644 --- a/include/pros/motors.hpp +++ b/include/pros/motors.hpp @@ -1671,7 +1671,7 @@ class Motor : public AbstractMotor, public Device { * ENODEV - The port cannot be configured as a motor * * - * \return A vecotr containing 1 for moving in the positive direction, -1 for moving in the + * \return A vector containing 1 for moving in the positive direction, -1 for moving in the * negative direction, and PROS_ERR if the operation failed, setting errno. * * \b Example