summaryrefslogtreecommitdiff
path: root/serial.hpp
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2018-11-30 01:37:33 +0100
committerXavier ASUS <xavi92psx@gmail.com>2018-11-30 01:37:33 +0100
commite67ae8402090ae7a242a4c2030042b571228bffc (patch)
treeaeb1c7d0378ea92e78df90e06b7d0a355dfae246 /serial.hpp
parent48ce5c59fe7f981d9f2da6ee9ddb9bbf03c8945b (diff)
QApplication::processEvents() would not work under Linux if ACK bytes are to be received from the target device. This has been changed by a call to a blocking function which ensures input data has been received.HEADmaster
Diffstat (limited to 'serial.hpp')
-rw-r--r--serial.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/serial.hpp b/serial.hpp
new file mode 100644
index 0000000..ff795cc
--- /dev/null
+++ b/serial.hpp
@@ -0,0 +1,17 @@
+#ifndef SERIAL_HPP
+#define SERIAL_HPP
+
+#include <QObject>
+
+class Serial : public QObject
+{
+ Q_OBJECT
+public:
+ explicit Serial(QObject *parent = nullptr);
+
+signals:
+
+public slots:
+};
+
+#endif // SERIAL_HPP \ No newline at end of file