From 9fa08c3e465e9657195874384fa681a55a9e2dd2 Mon Sep 17 00:00:00 2001 From: 2Fblob <164585100+2Fblob@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:03:28 +0200 Subject: [PATCH] Update drv_bl_shared.c --- src/driver/drv_bl_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/drv_bl_shared.c b/src/driver/drv_bl_shared.c index 1ba33debb..486a76245 100644 --- a/src/driver/drv_bl_shared.c +++ b/src/driver/drv_bl_shared.c @@ -906,7 +906,7 @@ void BL_ProcessUpdate(float voltage, float current, float power, { // At midnight, reset - if ((NTP_GetMinute() == 0) && (NTP_GetMinute() == 0)) + if ((NTP_GetHour() == 0) && (NTP_GetMinute() == 0)) { dump_load_relay_timer[output_index] = 0; }