Simu link error (when -O0 used)

This commit is contained in:
bsongis
2012-12-01 19:05:43 +00:00
parent 2248750812
commit a2309abc88
+2 -2
View File
@@ -48,8 +48,7 @@ void hapticQueue::heartbeat()
{
#if defined(SIMU)
return;
#endif
#else
if (buzzTimeLeft > 0) {
buzzTimeLeft--; // time gets counted down
#if defined(PCBSKY9X)
@@ -77,6 +76,7 @@ void hapticQueue::heartbeat()
}
}
}
#endif // defined(SIMU)
}
void hapticQueue::play(uint8_t tLen, uint8_t tPause, uint8_t tFlags)