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

@@ -63,5 +63,4 @@ void SubsystemBase::SetSubsystem(const wpi::Twine& name) {
void SubsystemBase::AddChild(std::string name, frc::Sendable* child) {
auto& registry = frc::SendableRegistry::GetInstance();
registry.AddLW(child, GetSubsystem(), name);
registry.AddChild(this, child);
}