Fix subsystem LiveWindow usage (#2202)

This commit is contained in:
Peter Johnson
2019-12-29 21:28:38 -06:00
committed by GitHub
parent 8b4508ad53
commit 9abce8eb06
4 changed files with 0 additions and 6 deletions

View File

@@ -184,7 +184,6 @@ public abstract class Subsystem implements Sendable, AutoCloseable {
*/
public void addChild(String name, Sendable child) {
SendableRegistry.addLW(child, getSubsystem(), name);
SendableRegistry.addChild(this, child);
}
/**
@@ -195,7 +194,6 @@ public abstract class Subsystem implements Sendable, AutoCloseable {
public void addChild(Sendable child) {
SendableRegistry.setSubsystem(child, getSubsystem());
SendableRegistry.enableLiveWindow(child);
SendableRegistry.addChild(this, child);
}
/**