diff --git a/mainwindow.h b/mainwindow.h --- a/mainwindow.h +++ b/mainwindow.h @@ -73,6 +73,8 @@ private: // note that serialPort should already have enough bytes present template double readSampleAs(); + bool skipByteRequested; + private slots: void loadPortList(); void loadBaudRateList(); @@ -88,6 +90,8 @@ private slots: void onDataReady(); void onPortError(QSerialPort::SerialPortError error); + void skipByte(); + void onNumOfSamplesChanged(int value); void onAutoScaleChecked(bool checked); void onYScaleChanged();