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

Change-Id: Id8d29831c97accd54dd359c6f20a447d8eed59db
This commit is contained in:
Kevin O'Connor
2014-10-21 14:15:50 -04:00
parent cd75dc71e8
commit 62790c0f47
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)