1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 09:16:01 +03:00

fixed led_pin_pwm programming framework functionality

This commit is contained in:
Roman Lut 2024-02-28 20:24:54 +01:00
parent 8f74cf3e40
commit ec4a1962b3

View file

@ -476,8 +476,9 @@ static int logicConditionCompute(
} }
break; break;
#ifdef LED_PIN #ifdef USE_LED_STRIP
case LOGIC_CONDITION_LED_PIN_PWM: case LOGIC_CONDITION_LED_PIN_PWM:
if (operandA >=0 && operandA <= 100) { if (operandA >=0 && operandA <= 100) {
ledPinStartPWM((uint8_t)operandA); ledPinStartPWM((uint8_t)operandA);
} else { } else {