mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Counter::setUpSource(AnalogTrigger): actually set the source.
Previously this created the output but didn't set up the source. Change-Id: Ifac7ed589358e15bc70ba46ae4a756ce56683a8a
This commit is contained in:
@@ -257,7 +257,7 @@ public class Counter extends SensorBase implements CounterBase,
|
||||
if (triggerType == null){
|
||||
throw new NullPointerException("Analog Trigger Type given was null");
|
||||
}
|
||||
analogTrigger.createOutput(triggerType);
|
||||
setUpSource(analogTrigger.createOutput(triggerType));
|
||||
m_allocatedUpSource = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user