Skip to content

Commit

Permalink
Merge branch 'master' into gui-rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Oct 4, 2023
2 parents d73991a + bd34c22 commit e49acbb
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@ public double getRollDegrees() {
}

public void removed() {
clackFront.stop();
clackRear.stop();
// These should never be null, but for some reason they are
if (clackFront != null) {
clackFront.stop();
}
if (clackRear != null) {
clackRear.stop();
}
}
}

Expand Down

0 comments on commit e49acbb

Please sign in to comment.