Skip to content

Commit

Permalink
Remove compiling test in motor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
SizzinSeal committed Oct 19, 2023
1 parent a281527 commit be4cc02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lemlib/devices/encoder/motor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,5 @@ float lemlib::MotorEncoder::getAngle() {
*/
bool lemlib::MotorEncoder::reset() {
lastAngle = 0;
getAngleDelta();
return (motors->tare_position()) ? 0 : 1;
}

0 comments on commit be4cc02

Please sign in to comment.