Fixed small bug preventing audio pitch changing on vario on arm board.

This commit is contained in:
rob@marotori.com
2012-05-04 13:15:40 +00:00
parent 0d4911a0d4
commit 0eb4f84ad8
+1 -1
View File
@@ -82,7 +82,7 @@ void audioQueue::heartbeat()
if (tone2TimeLeft > 0) {
if (tone2Changed) {
tone2Changed = 0;
set_frequency(toneFreq * 61 / 2);
set_frequency(tone2Freq * 61 / 2);
tone_start(0);
}
tone2TimeLeft--; //time gets counted down