diff --git a/wiringPi/wiringPi.c b/wiringPi/wiringPi.c index 7e1c3a2..0f6ed22 100755 --- a/wiringPi/wiringPi.c +++ b/wiringPi/wiringPi.c @@ -2319,7 +2319,7 @@ void pwmToneWrite (int pin, int freq) pwmWrite (pin, 0) ; // Off else { - range = 600000 / freq ; + range = 200000 / freq ; pwmSetRange (range) ; pwmWrite (pin, range / 2) ; }