Skip to content

Commit

Permalink
Try compiler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hadinger committed Jan 24, 2022
1 parent 532afba commit 8bd6a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/xdrv_04_light.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2099,8 +2099,8 @@ void LightSetOutputs(const uint16_t *cur_col_10) {
} else
#endif // USE_I2C
#endif // USE_PWM_DIMMER
#ifdef ESP32
uint32_t pwm_phase = 0; // dephase each PWM channel with the value of the previous
#ifdef ESP32
uint32_t pwm_modulus = (1 << _pwm_bit_num) - 1; // 1023
#endif // ESP32
for (uint32_t i = 0; i < (Light.subtype - Light.pwm_offset); i++) {
Expand Down

0 comments on commit 8bd6a7e

Please sign in to comment.