From 4076c5d36876140c8a05a7be0a08636a17a4fb34 Mon Sep 17 00:00:00 2001 From: OlivierDubois Date: Wed, 13 Nov 2024 19:52:06 -0500 Subject: [PATCH] =?UTF-8?q?accumu=20r=C3=A9gl=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/frc/robot/Commands/Desaccumuler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/Commands/Desaccumuler.java b/src/main/java/frc/robot/Commands/Desaccumuler.java index a393e20..b99aa0f 100644 --- a/src/main/java/frc/robot/Commands/Desaccumuler.java +++ b/src/main/java/frc/robot/Commands/Desaccumuler.java @@ -22,7 +22,7 @@ public class Desaccumuler extends Command { // Called every time the scheduler runs while the command is scheduled. @Override public void execute() { - if(accumulateur.photocell() || accumulateur.photocell2()){accumulateur.desaccumule(0.1);} + if(!accumulateur.photocell() || !accumulateur.photocell2()){accumulateur.desaccumule(0.1);} } // Called once the command ends or is interrupted.