Bsongis/frsky xlite (#5574)

FrSky X-Lite support added
This commit is contained in:
Bertrand Songis
2018-01-02 14:36:48 +01:00
committed by GitHub
parent 269831e0c4
commit c4001c8507
85 changed files with 1555 additions and 976 deletions
+1 -2
View File
@@ -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) {