Fix wrong colorMode on scene restore bug
parent
bb21973042
commit
fe8ce643b4
|
@ -75,7 +75,7 @@ static void sampleLight_sceneRecallReqHandler(zclIncomingAddrInfo_t *pAddrInfo,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ZCL_LIGHT_COLOR_CONTROL
|
#ifdef ZCL_LIGHT_COLOR_CONTROL
|
||||||
if (colorMode == ZCL_COLOR_MODE_CURRENT_HUE_SATURATION)
|
if (colorMode == ZCL_COLOR_MODE_COLOR_TEMPERATURE_MIREDS)
|
||||||
{
|
{
|
||||||
zcl_colorCtrlMoveToColorTemperatureCmd_t move2ColorTemp;
|
zcl_colorCtrlMoveToColorTemperatureCmd_t move2ColorTemp;
|
||||||
move2ColorTemp.colorTemperature = colorTemperatureMireds;
|
move2ColorTemp.colorTemperature = colorTemperatureMireds;
|
||||||
|
|
Loading…
Reference in New Issue