Skip to content

Commit

Permalink
Track last update attempt to not get into a loop
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Nov 22, 2023
1 parent a10f2d6 commit cc686ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hw/hw_vdf_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
}
Expand Down

0 comments on commit cc686ba

Please sign in to comment.