modify serial device settings instead of using empty template; check if serial fd is a valid terminal
This commit is contained in:
+3
-3
@@ -106,13 +106,13 @@ public:
|
||||
ssize_t sizeRecvBuffer() const { return m_recvBuffer.size(); }
|
||||
|
||||
protected:
|
||||
/** if of file descriptor */
|
||||
/** file descriptor from input device */
|
||||
int m_fd;
|
||||
|
||||
/** state of device*/
|
||||
/** true if device is opened */
|
||||
bool m_open;
|
||||
|
||||
/** state of device check */
|
||||
/** true if device check is disabled */
|
||||
bool m_noDeviceCheck;
|
||||
|
||||
/** queue for received bytes */
|
||||
|
||||
Reference in New Issue
Block a user