Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
feat: silenced joystick warnings (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Skippyyy <[email protected]>
  • Loading branch information
LeonardAbbas and ProgrammingSR authored Mar 20, 2022
1 parent 8072fe6 commit 7899ccc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package frc.robot;

import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.TimedRobot;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
import edu.wpi.first.wpilibj2.command.Command;
Expand All @@ -28,6 +29,7 @@ public class Robot extends TimedRobot {
@Override
public void robotInit() {
m_robotContainer = new RobotContainer();
DriverStation.silenceJoystickConnectionWarning(true);
}

/**
Expand Down

0 comments on commit 7899ccc

Please sign in to comment.