Simu link error (when -O0 used)

This commit is contained in:
bsongis
2012-12-01 18:44:06 +00:00
parent 7b84ba8c6d
commit 2248750812
+2 -2
View File
@@ -50,8 +50,7 @@ void audioQueue::heartbeat()
{
#if defined(SIMU)
return;
#endif
#else
if (toneTimeLeft > 0) {
if (toneFreq == 0) { //pause only events
SPEAKER_OFF;
@@ -102,6 +101,7 @@ void audioQueue::heartbeat()
}
}
}
#endif // defined(SIMU)
}
inline uint8_t audioQueue::getToneLength(uint8_t tLen)