Gordons Projects

--> Projects Top-Level GIT

Updated pwmWrite to not mask the value written in-case a call
authorGordon Henderson <gordon@drogon.net>
Sun, 19 Aug 2012 14:38:25 +0000 (15:38 +0100)
committerGordon Henderson <gordon@drogon.net>
Sun, 19 Aug 2012 14:38:25 +0000 (15:38 +0100)
commit870ba4129ffb48bb66de155de61bdae5b144c858
tree895a206bcf8a0d9f832cc44874b36ff2e88cca2b
parent1bb4989e11145c3a369058850cea77cb9ca5c3ec
Updated pwmWrite to not mask the value written in-case a call
to pumSetRange() happens.

ANDing with 0x3FF was wrong anyway as the PWM counter does from zero
to the top value, not top-1 as I originally thought.
wiringPi/wiringPi.c