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:
parent
8f74cf3e40
commit
ec4a1962b3
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue