Make setDefaultCommand public (#854)

This commit is contained in:
Noah Gleason
2017-12-28 13:48:15 -05:00
committed by Peter Johnson
parent 40eb6dfc9b
commit 566e283694

View File

@@ -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 {