Skip to content

Commit

Permalink
fixed led_pin_pwm programming framework functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanLut committed Mar 3, 2024
1 parent 8f74cf3 commit ec4a196
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/programming/logic_condition.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ec4a196

Please sign in to comment.