Skip to content

Commit

Permalink
fixed the error in my loop
Browse files Browse the repository at this point in the history
  • Loading branch information
ntt305 committed Oct 27, 2024
1 parent 206c106 commit 8df9ef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void runOpMode() throws InterruptedException {

while (opModeIsActive()) {

while (gamepad1.b);
while (gamepad1.b);

error = preverror + error;
difference = error -preverror;
Expand Down

0 comments on commit 8df9ef5

Please sign in to comment.