Re-work PWM patch #3

Merged
merged 1 commit into from Jun 27, 2012

Conversation

Projects
None yet
2 participants
Contributor

xobs commented Jun 27, 2012

When the PWM is unconfigured, it should drive the line low rather than
high. This patch adds a check to the PWM signal generator to detect if
the period and pulse are both 0 (as they are upon init), and drives the
signal to 0 in that case.

pwm: Default PWM to low on init
When the PWM is unconfigured, it should drive the line low rather than
high.  This patch adds a check to the PWM signal generator to detect if
the period and pulse are both 0 (as they are upon init), and drives the
signal to 0 in that case.

bunnie added a commit that referenced this pull request Jun 27, 2012

@bunnie bunnie merged commit 2df2639 into bunnie:master Jun 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment