@@ -38,8 +38,7 @@ void hapticQueue::heartbeat()
|
||||
#else
|
||||
if (buzzTimeLeft > 0) {
|
||||
buzzTimeLeft--; // time gets counted down
|
||||
#if defined(PCBSKY9X) || defined(PCBX9DP) || defined(PCBX9E) || defined(PCBHORUS)
|
||||
// TODO define HAPTIC_PWM option
|
||||
#if defined(HAPTIC_PWM)
|
||||
hapticOn(HAPTIC_STRENGTH() * 20);
|
||||
#else
|
||||
if (hapticTick-- > 0) {
|
||||
|
||||
Reference in New Issue
Block a user