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; }