From 930ec733e988c4996918065b4656f0508c6e2df6 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 28 Apr 2025 18:24:49 -0400 Subject: Fix bug with pipeline blockage, swap DRAM delay to 100 --- gui/gui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/gui.cc') diff --git a/gui/gui.cc b/gui/gui.cc index 395c6e6..b86edc1 100644 --- a/gui/gui.cc +++ b/gui/gui.cc @@ -94,7 +94,7 @@ GUI::GUI(QWidget *parent) : QMainWindow(parent), ui(new Ui::GUI) // Update the step button with step amount connect(ui->step_slider, &QSlider::valueChanged, this, [=](int index) { - int value = step_values[index]; + long value = step_values[index]; ui->step_btn->setText(QString("Step %1").arg(value)); }); @@ -268,7 +268,7 @@ void GUI::on_step_btn_clicked() return; this->set_status(get_running, "busy"); - int steps = step_values[ui->step_slider->value()]; + long steps = step_values[ui->step_slider->value()]; emit sendRunSteps(steps); } -- cgit v1.2.3