Changeset - aa93a4eacbb9
[Not reviewed]
default
0 1 0
Hasan Yavuz Ă–ZDERYA - 10 years ago 2015-06-22 05:53:23
hy@ozderya.net
fix pause not working with ASCII data
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
mainwindow.cpp
Show inline comments
 
@@ -236,6 +236,13 @@ void MainWindow::onDataReadyASCII()
 
    while(serialPort.canReadLine())
 
    {
 
        QByteArray line = serialPort.readLine();
 

	
 
        // discard data if paused
 
        if (ui->actionPause->isChecked())
 
        {
 
            return;
 
        }
 

	
 
        line = line.trimmed();
 
        auto separatedValues = line.split(',');
 

	
0 comments (0 inline, 0 general)