chiark / gitweb /
Updated pwmWrite to not mask the value written in-case a call
[wiringPi.git] / wiringPi / wiringPi.c
index bd3c999deda0ddfa21134be2eea8b5e8936b0eaa..39c34da75b76519e9ebb88bc68995d1fbaae75e8 100644 (file)
@@ -530,7 +530,7 @@ void pwmWriteGpio (int pin, int value)
   pin  = pin & 63 ;
   port = gpioToPwmPort [pin] ;
 
-  *(pwm + port) = value & 0x3FF ;
+  *(pwm + port) = value ;
 }
 
 void pwmWriteWPi (int pin, int value)