From b777c6f853e729f39d0ae81f07be958fd75c8335 Mon Sep 17 00:00:00 2001 From: Bruce Luckcuck Date: Sun, 25 Nov 2018 10:34:05 -0500 Subject: [PATCH] Increase DSHOT digital idle default value The DSHOT digital idle value is quite low (4.5%) and is often the cause of support issues as users are unaware that they may have to adjust this based on their motor/ESC requirements - leading to de-syncs and "death rolls" or other flip-outs. While DSHOT capable ESC's (BLHeli_S & BLHeli32) have faster MCU's and are often capable of smoother low speed idling, 4.5% is still quite low. For comparison the `min_throttle` default is 1070 equating to a 7% idle. I propose raising the digital idle to 5.5% to reduce occurrences of de-syncs from too low idle speed. --- src/main/flight/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/flight/mixer.c b/src/main/flight/mixer.c index fcf0ad606a..8c1a980fd1 100644 --- a/src/main/flight/mixer.c +++ b/src/main/flight/mixer.c @@ -105,7 +105,7 @@ void pgResetFn_motorConfig(motorConfig_t *motorConfig) #endif motorConfig->maxthrottle = 2000; motorConfig->mincommand = 1000; - motorConfig->digitalIdleOffsetValue = 450; + motorConfig->digitalIdleOffsetValue = 550; #ifdef USE_DSHOT_DMAR motorConfig->dev.useBurstDshot = ENABLE_DSHOT_DMAR; #endif