Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
checking context ownership when resetting gyro (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
dejabot committed Jan 15, 2024
1 parent 1f76e42 commit 5e1ba66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public void setCross() {
}

public void resetGyro() {
checkContextOwnership();
gyro.reset();
}

Expand Down

0 comments on commit 5e1ba66

Please sign in to comment.