From 2ac0d5296054cdc5a39f3367580ce819cf9e426a Mon Sep 17 00:00:00 2001 From: Thad House Date: Wed, 15 Jan 2020 21:33:59 -0800 Subject: [PATCH] Remove AnalogTrigger::SetDutyCycle (#2275) --- wpilibc/src/main/native/include/frc/AnalogTrigger.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/AnalogTrigger.h b/wpilibc/src/main/native/include/frc/AnalogTrigger.h index 7554bd9a9f..d465652645 100644 --- a/wpilibc/src/main/native/include/frc/AnalogTrigger.h +++ b/wpilibc/src/main/native/include/frc/AnalogTrigger.h @@ -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. *