Fix indentation

This commit is contained in:
netpok 2019-02-25 22:36:18 +01:00
parent 01ce2a31d3
commit 61099c4ead
1 changed files with 6 additions and 6 deletions

View File

@ -622,9 +622,9 @@ void LightSetColorTemp(uint16_t ct)
} else
if (LST_RGBWC == light_subtype) {
if(light_ct_rgb_linked){
Settings.light_color[0] = 0;
Settings.light_color[1] = 0;
Settings.light_color[2] = 0;
Settings.light_color[0] = 0;
Settings.light_color[1] = 0;
Settings.light_color[2] = 0;
}
Settings.light_color[3] = (uint8_t)icold;
Settings.light_color[4] = (uint8_t)iwarm;
@ -1164,9 +1164,9 @@ void LightHsbToRgb(void)
light_current_color[1] = (uint8_t)(g * 255.0f);
light_current_color[2] = (uint8_t)(b * 255.0f);
if(light_ct_rgb_linked){
light_current_color[3] = 0;
light_current_color[4] = 0;
}
light_current_color[3] = 0;
light_current_color[4] = 0;
}
}
/********************************************************************************************/