From 8b36027d653536459df18fdfd43069c7b2738417 Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Thu, 6 Jul 2017 09:01:56 +0100 Subject: [PATCH] pwmWriteDshotCommand fix --- src/main/drivers/pwm_output.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/drivers/pwm_output.c b/src/main/drivers/pwm_output.c index 27fb8fc073..9c05608fb7 100644 --- a/src/main/drivers/pwm_output.c +++ b/src/main/drivers/pwm_output.c @@ -395,10 +395,7 @@ void pwmWriteDshotCommand(uint8_t index, uint8_t command) for (; repeats; repeats--) { motor->requestTelemetry = true; pwmWriteDshotInt(index, command); - if (pwmMotorsEnabled) { - pwmCompleteDshotMotorUpdate(0); - } - + pwmCompleteDshotMotorUpdate(0); delay(1); } }