mirror of
https://github.com/clockworkpi/WiringPi.git
synced 2026-06-14 22:57:14 +02:00
Synced to git.drogon.net
This commit is contained in:
committed by
Philip Howard
parent
dda3305ce1
commit
3fbc564d00
@@ -59,7 +59,9 @@ static PI_THREAD (softToneThread)
|
||||
for (;;)
|
||||
{
|
||||
frewq = frewqs [pin] ;
|
||||
if (frewq != 0)
|
||||
if (frewq == 0)
|
||||
delay (1) ;
|
||||
else
|
||||
{
|
||||
halfPeriod = 500000 / frewq ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user