From 566e28369406f04bd80e9df721a1e9737b28a461 Mon Sep 17 00:00:00 2001 From: Noah Gleason Date: Thu, 28 Dec 2017 13:48:15 -0500 Subject: [PATCH] Make setDefaultCommand public (#854) --- .../src/main/java/edu/wpi/first/wpilibj/command/Subsystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/command/Subsystem.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/command/Subsystem.java index 73785254ac..3f3fd528c9 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/command/Subsystem.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/command/Subsystem.java @@ -90,7 +90,7 @@ public abstract class Subsystem extends SendableBase implements Sendable { * @param command the default command (or null if there should be none) * @throws IllegalUseOfCommandException if the command does not require the subsystem */ - protected void setDefaultCommand(Command command) { + public void setDefaultCommand(Command command) { if (command == null) { m_defaultCommand = null; } else {