1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-12 19:10:32 +03:00

FIX: PWM motor output stopped working after #14156 (#14280)

FIX: https://github.com/betaflight/betaflight/issues/14265
This commit is contained in:
Jay Blackman 2025-02-27 03:21:05 +11:00 committed by GitHub
parent a779ffaff7
commit 84c11a5009
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: