From 038dbf3d8db3e4b0f3a5b63bde7342f9089c0515 Mon Sep 17 00:00:00 2001 From: Boris Brock Date: Sat, 5 Oct 2024 20:49:37 +0200 Subject: [PATCH] Fixing energy conversion factor --- src/Configuration/Constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Configuration/Constants.h b/src/Configuration/Constants.h index 0c41af9..8d898bd 100644 --- a/src/Configuration/Constants.h +++ b/src/Configuration/Constants.h @@ -68,7 +68,7 @@ namespace Constants constexpr uint32_t TimeoutMs = 2000; constexpr float VoltageFactor = 10.0f; constexpr float CurrentFactor = 10.0f; - constexpr float EnergyFactor = 10.0f; + constexpr float EnergyFactor = 0.01f; }; namespace WiFi