next_color(): Add usefull debug output

This commit is contained in:
Richard Sailer 2019-08-22 04:08:43 +02:00
parent bf601f1eba
commit 0d915b833b

View file

@ -469,6 +469,9 @@ static int set_next_color_whole_kb(void)
} }
new_color_code = color_list.colors[new_color_id].code; new_color_code = color_list.colors[new_color_id].code;
TUXEDO_INFO("set_next_color_whole_kb(): new_color_id: %i, new_color_code %X",
new_color_id, new_color_code);
/* Set color on all four regions*/ /* Set color on all four regions*/
// TODO: perhaps use set_color_region here, because of better struct state // TODO: perhaps use set_color_region here, because of better struct state
// handling (or implement something like it myself) // handling (or implement something like it myself)