Merge "Counter::setUpSource(AnalogTrigger): actually set the source."

This commit is contained in:
Brad Miller (WPI)
2014-10-17 11:40:35 -07:00
committed by Gerrit Code Review

View File

@@ -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;
}