Force light update on color mapping change

This commit is contained in:
netpok 2019-02-25 22:24:06 +01:00
parent d8eac1d8fc
commit 6d1cfe5a07

View File

@ -593,6 +593,7 @@ void LightUpdateColorMapping(void)
light_color_remap[3] = tmp[param];
light_color_remap[4] = tmp[1-param];
light_update = 1;
//snprintf_P(log_data, sizeof(log_data), "%d colors: %d %d %d %d %d",Settings.param[P_RGB_REMAP], light_color_remap[0],light_color_remap[1],light_color_remap[2],light_color_remap[3],light_color_remap[4]);
//AddLog(LOG_LEVEL_DEBUG);
}