Change GUI refresh rate to 4 times per second instead of 2. The
refresh rate is purposefully limited to allow for better system performance while capturing but 4 times per second is not really too fast. Also updated version number
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#ifndef CONFIG
|
#ifndef CONFIG
|
||||||
#define CONFIG
|
#define CONFIG
|
||||||
|
|
||||||
#define VERSION 170
|
#define VERSION 171
|
||||||
|
|
||||||
//try to keep this in sync.
|
//try to keep this in sync.
|
||||||
//SavvyCAN will complain if you connect a GVRET board with a revision
|
//SavvyCAN will complain if you connect a GVRET board with a revision
|
||||||
|
|||||||
+1
-1
@@ -142,7 +142,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
ui->lbNumFrames->setText("0");
|
ui->lbNumFrames->setText("0");
|
||||||
|
|
||||||
connect(&updateTimer, &QTimer::timeout, this, &MainWindow::tickGUIUpdate);
|
connect(&updateTimer, &QTimer::timeout, this, &MainWindow::tickGUIUpdate);
|
||||||
updateTimer.setInterval(500); //test 250);
|
updateTimer.setInterval(250);
|
||||||
updateTimer.start();
|
updateTimer.start();
|
||||||
|
|
||||||
elapsedTime = new QTime;
|
elapsedTime = new QTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user