summaryrefslogtreecommitdiff
path: root/gui/gui.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-28 18:24:49 -0400
committerbd <bdunahu@operationnull.com>2025-04-28 18:24:49 -0400
commit930ec733e988c4996918065b4656f0508c6e2df6 (patch)
treecb12daab120a8298d5e78219602fded822bdd671 /gui/gui.cc
parent9e7debd7bff14893f2722c37f42d9c6b70fbdcbf (diff)
Fix bug with pipeline blockage, swap DRAM delay to 100
Diffstat (limited to 'gui/gui.cc')
-rw-r--r--gui/gui.cc4
1 files changed, 2 insertions, 2 deletions
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);
}