Skip to content

Commit

Permalink
📝Fix typos (#605)
Browse files Browse the repository at this point in the history
Co-authored-by: noam987 <[email protected]>
  • Loading branch information
aberiggs and noam987 authored Oct 5, 2023
1 parent 943a943 commit 50be343
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/pros/motor_group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion include/pros/motors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 50be343

Please sign in to comment.