aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40/worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ice40/worker.cc')
-rw-r--r--gui/ice40/worker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/ice40/worker.cc b/gui/ice40/worker.cc
index acf32554..ab82b6bb 100644
--- a/gui/ice40/worker.cc
+++ b/gui/ice40/worker.cc
@@ -111,7 +111,8 @@ void Worker::budget(double freq)
{
Q_EMIT taskStarted();
try {
- assign_budget(ctx, freq);
+ ctx->target_freq = freq;
+ assign_budget(ctx);
Q_EMIT budget_finish(true);
} catch (WorkerInterruptionRequested) {
Q_EMIT taskCanceled();