Deprecates Task and Semaphore, and changes other deprecations to use wpiutil version (#330)

This commit is contained in:
Thad House
2016-11-05 00:23:52 -07:00
committed by Peter Johnson
parent 861726cefa
commit 1efb2e4d3d
8 changed files with 13 additions and 23 deletions

View File

@@ -97,7 +97,7 @@ Counter::Counter(int channel) : Counter(kTwoPulse) {
*
* @param trigger The pointer to the existing AnalogTrigger object.
*/
DEPRECATED("Use pass-by-reference instead.")
WPI_DEPRECATED("Use pass-by-reference instead.")
Counter::Counter(AnalogTrigger* trigger) : Counter(kTwoPulse) {
SetUpSource(trigger->CreateOutput(AnalogTriggerType::kState));
ClearDownSource();