mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Deprecates Task and Semaphore, and changes other deprecations to use wpiutil version (#330)
This commit is contained in:
committed by
Peter Johnson
parent
861726cefa
commit
1efb2e4d3d
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user