mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Fade out on CCT bulb with SO92 1
(#21159)
This commit is contained in:
parent
5cb3ea2114
commit
5f7584efe4
@ -22,6 +22,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Fixed
|
||||
- NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device (#21098)
|
||||
- M5Core2 LoRa868 module receive exception
|
||||
- Fade out on CCT bulb with `SO92 1`
|
||||
|
||||
### Removed
|
||||
- Unused `#define MQTT_DATA_STRING` support
|
||||
|
@ -2412,7 +2412,6 @@ void calcGammaBulbs(uint16_t cur_col_10[5]) {
|
||||
if (ChannelCT() >= 0) {
|
||||
// Need to compute white_bri10 and ct_10 from cur_col_10[] for compatibility with VirtualCT
|
||||
white_bri10 = cur_col_10[cw0] + cur_col_10[cw0+1];
|
||||
ct_10 = changeUIntScale(cur_col_10[cw0+1], 0, white_bri10, 0, 1023);
|
||||
if (white_bri10 > 1023) {
|
||||
// In white_free_cw mode, the combined brightness of cw and ww may be larger than 1023.
|
||||
// This cannot be represented in pwm_ct_mode, so we set the maximum brightness instead.
|
||||
|
Loading…
x
Reference in New Issue
Block a user