Browse Source

lights: fix my92xx build

mcspr-patch-1
Maxim Prokhorov 3 years ago
parent
commit
009021118b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/light.cpp

+ 1
- 1
code/espurna/light.cpp View File

@ -914,7 +914,7 @@ void _lightProviderHandleValue(unsigned char channel, float value) {
#if LIGHT_PROVIDER == LIGHT_PROVIDER_DIMMER #if LIGHT_PROVIDER == LIGHT_PROVIDER_DIMMER
pwm_set_duty(pwm, channel); pwm_set_duty(pwm, channel);
#elif LIGHT_PROVIDER == LIGHT_PROVIDER_MY92XX #elif LIGHT_PROVIDER == LIGHT_PROVIDER_MY92XX
_my92xx->setChannel(_lightMy92xxChannel(channel), pwm);
_my92xx->setChannel(Light::build::my92xxChannel(channel), pwm);
#endif #endif
} }


Loading…
Cancel
Save