Browse Source

Merge branch 'master' of git://git.drogon.net/wiringPi

pull/22/head
Gordon Henderson 12 years ago
parent
commit
e636f6213b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wiringPi/wiringPi.c

+ 1
- 1
wiringPi/wiringPi.c View File

@@ -530,7 +530,7 @@ void pwmWriteGpio (int pin, int value)
pin = pin & 63 ; pin = pin & 63 ;
port = gpioToPwmPort [pin] ; port = gpioToPwmPort [pin] ;


*(pwm + port) = value & 0x3FF ;
*(pwm + port) = value ;
} }


void pwmWriteWPi (int pin, int value) void pwmWriteWPi (int pin, int value)


Loading…
Cancel
Save