On stock board the Quiet mode was not working

This commit is contained in:
bsongis
2012-02-16 17:53:28 +00:00
parent 8057d13c22
commit e7e7a6ca97
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class audioQueue
}
#elif defined(PCBSTD)
inline void driver() {
if (toneTimeLeft > 0) {
if (toneFreq && toneTimeLeft > 0) {
toneCounter += toneFreq;
if ((toneCounter & 0x80) == 0x80)
BUZZER_ON;