Simu link error (when -O0 used)
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user