mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
Remove AnalogTrigger::SetDutyCycle (#2275)
This commit is contained in:
committed by
Peter Johnson
parent
dbe1e6f466
commit
2ac0d52960
@@ -1,5 +1,5 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) 2008-2019 FIRST. All Rights Reserved. */
|
||||
/* Copyright (c) 2008-2020 FIRST. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
@@ -100,17 +100,6 @@ class AnalogTrigger : public ErrorBase,
|
||||
*/
|
||||
void SetAveraged(bool useAveragedValue);
|
||||
|
||||
/**
|
||||
* Configure the analog trigger to use the duty cycle vs. raw values.
|
||||
*
|
||||
* If the value is true, then the duty cycle value is selected for the analog
|
||||
* trigger, otherwise the immediate value is used.
|
||||
*
|
||||
* @param useDutyCycle If true, use the duty cycle value, otherwise use the
|
||||
* instantaneous reading
|
||||
*/
|
||||
void SetDutyCycle(bool useDutyCycle);
|
||||
|
||||
/**
|
||||
* Configure the analog trigger to use a filtered value.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user