mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Miscellaneous AnalogTrigger fixes
AnalogTrigger.createOutput is now public. It was mistakenly made package local before. The AnalogTriggerType enum now uses the same naming convension as other enumerations in WPILib. There's no way that this breaks existing code, since AnalogTrigger.createOutput wasn't public before this commit. Change-Id: I9a2b921a996012f61dac0e395602f8cc429d7611
This commit is contained in:
@@ -165,7 +165,7 @@ public class AnalogCrossConnectTest extends AbstractInterruptTest {
|
||||
InterruptableSensorBase giveInterruptableSensorBase() {
|
||||
interruptTrigger = new AnalogTrigger(analogIO.getInput());
|
||||
interruptTrigger.setLimitsVoltage(2.0f, 3.0f);
|
||||
interruptTriggerOutput = new AnalogTriggerOutput(interruptTrigger, AnalogTriggerType.STATE);
|
||||
interruptTriggerOutput = new AnalogTriggerOutput(interruptTrigger, AnalogTriggerType.kState);
|
||||
return interruptTriggerOutput;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user