Simu link error (when -O0 used)
This commit is contained in:
+2
-2
@@ -48,8 +48,7 @@ void hapticQueue::heartbeat()
|
|||||||
{
|
{
|
||||||
#if defined(SIMU)
|
#if defined(SIMU)
|
||||||
return;
|
return;
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
if (buzzTimeLeft > 0) {
|
if (buzzTimeLeft > 0) {
|
||||||
buzzTimeLeft--; // time gets counted down
|
buzzTimeLeft--; // time gets counted down
|
||||||
#if defined(PCBSKY9X)
|
#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)
|
void hapticQueue::play(uint8_t tLen, uint8_t tPause, uint8_t tFlags)
|
||||||
|
|||||||
Reference in New Issue
Block a user