From ddbb8f9912b4c90c96c149941f542ef0ddbaa68a Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sun, 4 Oct 2020 15:26:42 +0200 Subject: [PATCH] Rename states to dawn, day, dusk and night --- main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index a710b83..5fd3894 100644 --- a/main.c +++ b/main.c @@ -60,10 +60,10 @@ enum state { }; static char *state_names[] = { - "high temperature", - "animating to low temperature", - "low temperature", - "animating to high temperature", + "day", + "dusk", + "night", + "dawn", NULL }; @@ -338,7 +338,7 @@ start: } if (ctx->state != old_state) { - fprintf(stderr, "changed state: %s\n", state_names[ctx->state]); + fprintf(stderr, "changed state to %s\n", state_names[ctx->state]); } if (temp != ctx->cur_temp || ctx->new_output) {