Update temperature log

master
Kenny Levinsen 2020-10-04 15:33:00 +02:00
parent cb294e1735
commit 1dfefe2b51
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -254,7 +254,7 @@ static void fill_gamma_table(uint16_t *table, uint32_t ramp_size, double rw, dou
static void set_temperature(struct context *ctx) { static void set_temperature(struct context *ctx) {
double rw, gw, bw; double rw, gw, bw;
calc_whitepoint(ctx->cur_temp, &rw, &gw, &bw); calc_whitepoint(ctx->cur_temp, &rw, &gw, &bw);
fprintf(stderr, "setting temperature: %d\n", ctx->cur_temp); fprintf(stderr, "setting temperature to %d K\n", ctx->cur_temp);
struct output *output; struct output *output;
wl_list_for_each(output, &ctx->outputs, link) { wl_list_for_each(output, &ctx->outputs, link) {