This commit is contained in:
Gerolf Ziegenhain 2016-10-04 17:46:36 +02:00
parent aaf24cf35d
commit 108d04efd2
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ int beep(double freq_hz, double duration_sec)
p1 = p2 = f1 = f2 = 0.02;//SAMPLE_RATE/freq_hz;//0.02;
i=0;
for (i = 0; i < up_count; ) {
for (j = 0; j < FRAMES*2 ; j+=2)
//for (j = 0; j < up_count*2; j+=2)