File tree Expand file tree Collapse file tree 4 files changed +97
-14
lines changed
Expand file tree Collapse file tree 4 files changed +97
-14
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class Bus {
157157 static bool hasWhite (uint8_t type) {
158158 if ((type >= TYPE_WS2812_1CH && type <= TYPE_WS2812_WWA) ||
159159 type == TYPE_SK6812_RGBW || type == TYPE_TM1814 || type == TYPE_UCS8904 ||
160- type == TYPE_FW1906 || type == TYPE_WS2805) return true ; // digital types with white channel
160+ type == TYPE_FW1906 || type == TYPE_WS2805 || type == TYPE_SM16825 ) return true ; // digital types with white channel
161161 if (type > TYPE_ONOFF && type <= TYPE_ANALOG_5CH && type != TYPE_ANALOG_3CH) return true ; // analog types with white channel
162162 if (type == TYPE_NET_DDP_RGBW || type == TYPE_NET_ARTNET_RGBW) return true ; // network types with white channel
163163 return false ;
@@ -166,7 +166,8 @@ class Bus {
166166 static bool hasCCT (uint8_t type) {
167167 if (type == TYPE_WS2812_2CH_X3 || type == TYPE_WS2812_WWA ||
168168 type == TYPE_ANALOG_2CH || type == TYPE_ANALOG_5CH ||
169- type == TYPE_FW1906 || type == TYPE_WS2805 ) return true ;
169+ type == TYPE_FW1906 || type == TYPE_WS2805 ||
170+ type == TYPE_SM16825) return true ;
170171 return false ;
171172 }
172173 static inline int16_t getCCT () { return _cct; }
You can’t perform that action at this time.
0 commit comments