From 449d26efee4a6f31aa1250d24c3dbb6fb75e17e2 Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Fri, 21 Oct 2016 23:36:29 +0200 Subject: [PATCH] Fix bug with double pwm protocol SET in MSP --- src/main/fc/fc_msp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/fc/fc_msp.c b/src/main/fc/fc_msp.c index e393674f68..34781bb6df 100755 --- a/src/main/fc/fc_msp.c +++ b/src/main/fc/fc_msp.c @@ -1691,7 +1691,6 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src) #else masterConfig.motorConfig.motorPwmProtocol = constrain(sbufReadU8(src), 0, PWM_TYPE_BRUSHED); #endif - masterConfig.motorConfig.motorPwmProtocol = sbufReadU8(src); masterConfig.motorConfig.motorPwmRate = sbufReadU16(src); break; case MSP_SET_FILTER_CONFIG :