Skip to content

Commit

Permalink
Update drv_bl_shared.c
Browse files Browse the repository at this point in the history
  • Loading branch information
2Fblob authored Sep 3, 2024
1 parent 5ced579 commit 9fa08c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/drv_bl_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9fa08c3

Please sign in to comment.