mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[wpilib] Remove deprecated Sendable functions and SendableBase (#3210)
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
// Copyright (c) FIRST and other WPILib contributors.
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "frc/smartdashboard/SendableBase.h"
|
||||
|
||||
#include "frc/smartdashboard/SendableRegistry.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
SendableBase::SendableBase(bool addLiveWindow) {
|
||||
if (addLiveWindow) {
|
||||
SendableRegistry::GetInstance().AddLW(this, "");
|
||||
} else {
|
||||
SendableRegistry::GetInstance().Add(this, "");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user