diff --git a/mainwindow.cpp b/mainwindow.cpp index 367718a..9dfb725 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -51,6 +51,8 @@ MainWindow::MainWindow(QWidget *parent) : else sendTimer.setInterval(5); sendTimer.start(); + tempWarning.setInterval(10000); + sinceLastTemp.start(); } diff --git a/mainwindow.h b/mainwindow.h index c01202d..9b57a8f 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -32,6 +32,7 @@ public: QVector gcode; QTimer sendTimer; QTimer statusTimer; + QTimer tempWarning; QElapsedTimer sinceLastTemp; QSettings settings; QStringList recentFiles;