Skip to content

Commit 3023112

Browse files
committed
bump 0.3.0
1 parent a577c71 commit 3023112

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

functionGenerator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ float funcgen::heartBeat(float t)
377377
0,0,0,0,
378378
0,0,0,0,
379379
};
380+
// use duty cycle to determine zero level duration.
380381
int pts = map(_dutyCycle * 100, 0, 100, 31, 15);
381382

382-
return freeWaveN(t, out, pts);
383+
return freeWave(t, out, pts);
383384
}
384385

385386

0 commit comments

Comments
 (0)