diff --git a/include/com.h b/include/com.h index 379d739..1684b80 100644 --- a/include/com.h +++ b/include/com.h @@ -33,9 +33,7 @@ class T_com : public QObject //, public QPlainTextEdit // QSerialPort *CatSerial = nullptr; QSerialPort *CatSerial; - QVector readCmds; // list of active commands sent to DC - - + uint32_t writeCount = 0; //char oeffneSerialPort(); char open_Serial_Port(); @@ -66,8 +64,7 @@ public: bool readFromSerial(QByteArray &data, uint16_t &sendLength); // retval: true: data available - QVector &getReadCmds() { return readCmds; } - QVector const &getReadCmds() const { return readCmds; } + uint32_t getWriteCount() { return writeCount; } /* uint8_t getAllPortPins(void);