Merge "Use either DO PWM A or B not A and B and update javadoc to reflect 6 generators (artf3698)"

This commit is contained in:
Brad Miller (WPI)
2014-10-24 12:10:42 -07:00
committed by Gerrit Code Review
3 changed files with 9 additions and 7 deletions

View File

@@ -150,7 +150,7 @@ public class DigitalOutput extends DigitalSource implements LiveWindowSendable {
/**
* Enable a PWM Output on this line.
*
* Allocate one of the 4 DO PWM generator resources.
* Allocate one of the 6 DO PWM generator resources.
*
* Supply the initial duty-cycle to output so as to avoid a glitch when
* first starting.
@@ -178,7 +178,7 @@ public class DigitalOutput extends DigitalSource implements LiveWindowSendable {
/**
* Change this line from a PWM output back to a static Digital Output line.
*
* Free up one of the 4 DO PWM generator resources that were in use.
* Free up one of the 6 DO PWM generator resources that were in use.
*/
public void disablePWM() {
if (m_pwmGenerator == null)