From cc686bae5a4c634715d111f7010bb8d9da29ff19 Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Tue, 21 Nov 2023 19:36:07 -0600 Subject: [PATCH] Track last update attempt to not get into a loop --- src/hw/hw_vdf_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hw/hw_vdf_client.cpp b/src/hw/hw_vdf_client.cpp index f0e4c496..19d063dd 100644 --- a/src/hw/hw_vdf_client.cpp +++ b/src/hw/hw_vdf_client.cpp @@ -407,6 +407,7 @@ void event_loop(struct vdf_client *client) adjust_hw_freq(client->drv, running_mask, 1); } else { LOG_INFO("Can't increase frequency, already at maximum"); + client->drv->last_freq_update = vdf_get_cur_time(); } } }