Removed functions that have been deprecated for at least one year (#551)

This commit is contained in:
Tyler Veness
2017-07-01 01:05:33 -04:00
committed by Peter Johnson
parent d2de94778e
commit 68b63632c4
20 changed files with 35 additions and 414 deletions

View File

@@ -24,6 +24,7 @@ class DigitalGlitchFilter;
/**
* Class to read quad encoders.
*
* Quadrature encoders are devices that count shaft rotation and can sense
* direction. The output of the QuadEncoder class is an integer that can count
* either up or down, and can go negative for reverse direction counting. When
@@ -79,9 +80,6 @@ class Encoder : public SensorBase,
double PIDGet() override;
void SetIndexSource(int channel, IndexingType type = kResetOnRisingEdge);
WPI_DEPRECATED("Use pass-by-reference instead.")
void SetIndexSource(DigitalSource* source,
IndexingType type = kResetOnRisingEdge);
void SetIndexSource(const DigitalSource& source,
IndexingType type = kResetOnRisingEdge);