SD card fixes
This commit is contained in:
parent
34c23b69e4
commit
7dbe5c64eb
@ -61,7 +61,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
else sendTimer.setInterval(5);
|
else sendTimer.setInterval(5);
|
||||||
sendTimer.start();
|
sendTimer.start();
|
||||||
|
|
||||||
progressSDTimer.setInterval(1000);
|
progressSDTimer.setInterval(1500);
|
||||||
progressSDTimer.start();
|
progressSDTimer.start();
|
||||||
|
|
||||||
tempWarning.setInterval(10000);
|
tempWarning.setInterval(10000);
|
||||||
@ -386,7 +386,7 @@ void MainWindow::readSerial()
|
|||||||
if(currentLine > 0) currentLine -= data.split(':')[1].toInt();
|
if(currentLine > 0) currentLine -= data.split(':')[1].toInt();
|
||||||
if(currentLine < 0) currentLine = 0;
|
if(currentLine < 0) currentLine = 0;
|
||||||
}
|
}
|
||||||
else if(datd.startsWith("Done")) sdprinting = false;
|
else if(data.startsWith("Done")) sdprinting = false;
|
||||||
else if(data.startsWith("SD printing byte"))
|
else if(data.startsWith("SD printing byte"))
|
||||||
{
|
{
|
||||||
QFuture<double> parseSDThread = QtConcurrent::run(this, &MainWindow::parseSDStatus, data);
|
QFuture<double> parseSDThread = QtConcurrent::run(this, &MainWindow::parseSDStatus, data);
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>199</width>
|
<width>249</width>
|
||||||
<height>246</height>
|
<height>246</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user