From 84c11a5009aa0465aa5aea1e53e3f3a242a0b177 Mon Sep 17 00:00:00 2001 From: Jay Blackman Date: Thu, 27 Feb 2025 03:21:05 +1100 Subject: [PATCH] FIX: PWM motor output stopped working after #14156 (#14280) FIX: https://github.com/betaflight/betaflight/issues/14265 --- src/main/drivers/motor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/drivers/motor.c b/src/main/drivers/motor.c index 22f2415a11..9060316a62 100644 --- a/src/main/drivers/motor.c +++ b/src/main/drivers/motor.c @@ -184,7 +184,7 @@ bool checkMotorProtocolEnabled(const motorDevConfig_t *motorDevConfig, bool *isP motorProtocolFamily_e motorGetProtocolFamily(void) { switch (motorConfig()->dev.motorProtocol) { -#ifdef USE_PWMOUTPUT +#ifdef USE_PWM_OUTPUT case MOTOR_PROTOCOL_PWM : case MOTOR_PROTOCOL_ONESHOT125: case MOTOR_PROTOCOL_ONESHOT42: