From 71f0f904e2f58b2b4012d83e22d7c644624eeb83 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sun, 20 Sep 2020 03:49:42 +0200 Subject: [PATCH] Increase animation resolution --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 2bcd7b7..87d5ceb 100644 --- a/main.c +++ b/main.c @@ -286,7 +286,7 @@ static void update_temperature(struct context *ctx) { } static int increments(struct context *ctx, int to) { - int diff = abs(ctx->cur_temp - to) / 50; + int diff = abs(ctx->cur_temp - to) / 25; int time = (ctx->duration * 1000) / diff; return time > 600000 ? 600000 : time; }