Skip to content

Commit

Permalink
✨Add MotorGroup alias for Motor_Group (#441)
Browse files Browse the repository at this point in the history
* motorgroup alias

* Fixed Extra Line
  • Loading branch information
evanmiller620 authored Oct 12, 2022
1 parent d43c838 commit 95709d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/pros/motors.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,6 +1325,8 @@ class Motor_Group {
std::uint8_t _motor_count;
};

using MotorGroup = Motor_Group; //alias

namespace literals {
const pros::Motor operator"" _mtr(const unsigned long long int m);
const pros::Motor operator"" _rmtr(const unsigned long long int m);
Expand Down

0 comments on commit 95709d7

Please sign in to comment.