From 7899cccd22156e936da5f6d04367941a29458672 Mon Sep 17 00:00:00 2001 From: Leonard Abbas <56853476+LennyAbbas@users.noreply.github.com> Date: Sun, 20 Mar 2022 12:54:50 -0700 Subject: [PATCH] feat: silenced joystick warnings (#148) Co-authored-by: Skippyyy --- src/main/java/frc/robot/Robot.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/frc/robot/Robot.java b/src/main/java/frc/robot/Robot.java index 4963568c..eb841f80 100644 --- a/src/main/java/frc/robot/Robot.java +++ b/src/main/java/frc/robot/Robot.java @@ -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; @@ -28,6 +29,7 @@ public class Robot extends TimedRobot { @Override public void robotInit() { m_robotContainer = new RobotContainer(); + DriverStation.silenceJoystickConnectionWarning(true); } /**