mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-13 11:29:56 +03:00
fixed led_pin_pwm programming framework functionality
This commit is contained in:
parent
8f74cf3e40
commit
ec4a1962b3
1 changed files with 2 additions and 1 deletions
|
@ -476,8 +476,9 @@ static int logicConditionCompute(
|
|||
}
|
||||
break;
|
||||
|
||||
#ifdef LED_PIN
|
||||
#ifdef USE_LED_STRIP
|
||||
case LOGIC_CONDITION_LED_PIN_PWM:
|
||||
|
||||
if (operandA >=0 && operandA <= 100) {
|
||||
ledPinStartPWM((uint8_t)operandA);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue