This commit is contained in:
Gerolf Ziegenhain 2016-10-04 17:14:43 +02:00
parent 4a2e3ca88f
commit 3c469edf69

View File

@ -196,7 +196,7 @@ int beep(double freq_hz, double duration_sec)
for (j = 0; j < FRAMES*2 ; j+=2)
//for (j = 0; j < up_count*2; j+=2)
{
i += 2;
i += 1;
if (i<up_count)
{
buffer[j] = freq_hz*100.0 * sin(p1);