From caa57721f78b6d1ce7276012a2c89094747648a1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 17 Sep 2023 22:49:13 +0400 Subject: [PATCH] A func price_to_wattspersecond was renamed to price_kwh_to_wattspersecond. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index a8acc81..d7c50c8 100644 --- a/src/main.c +++ b/src/main.c @@ -65,7 +65,7 @@ inline interval_t interval_to_seconds(const char * const interval) { } } -inline price_t price_to_wattspersecond(const price_t price) { +inline price_t price_kwh_to_wattspersecond(const price_t price) { return price / 1000.f / 3600.f; }