Skip to content

Commit

Permalink
removed new code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
GearBoxFox committed Mar 17, 2024
1 parent 0b0938d commit 751fcfb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ public void robotInit() {
// Save outputs to a new log
Logger.addDataReceiver(new WPILOGWriter(LogFileUtil.addPathSuffix(replayLog, "_sim")));
}
default -> {
Logger.addDataReceiver(new WPILOGWriter(logPath));
}
default -> Logger.addDataReceiver(new WPILOGWriter(logPath));
}

// Logger.disableDeterministicTimestamps() // See "Deterministic Timestamps" in the "Understanding Data Flow" page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.SubsystemBase;
import lib.logger.DataLogUtil;
import lib.logger.DataLogUtil.DataLogTable;
import org.littletonrobotics.junction.Logger;

public class ShooterSubsystem extends SubsystemBase {
Expand Down

0 comments on commit 751fcfb

Please sign in to comment.