File tree 4 files changed +97
-14
lines changed
4 files changed +97
-14
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class Bus {
157
157
static bool hasWhite (uint8_t type) {
158
158
if ((type >= TYPE_WS2812_1CH && type <= TYPE_WS2812_WWA) ||
159
159
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
161
161
if (type > TYPE_ONOFF && type <= TYPE_ANALOG_5CH && type != TYPE_ANALOG_3CH) return true ; // analog types with white channel
162
162
if (type == TYPE_NET_DDP_RGBW || type == TYPE_NET_ARTNET_RGBW) return true ; // network types with white channel
163
163
return false ;
@@ -166,7 +166,8 @@ class Bus {
166
166
static bool hasCCT (uint8_t type) {
167
167
if (type == TYPE_WS2812_2CH_X3 || type == TYPE_WS2812_WWA ||
168
168
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 ;
170
171
return false ;
171
172
}
172
173
static inline int16_t getCCT () { return _cct; }
You can’t perform that action at this time.
0 commit comments