mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 16:25:45 +08:00
Rationalise the pseudo tty handling.
This commit is contained in:
@@ -27,12 +27,15 @@
|
||||
|
||||
class CPseudoTTYController : public CSerialController {
|
||||
public:
|
||||
CPseudoTTYController(const std::string& device, unsigned int speed, bool assertRTS = false);
|
||||
CPseudoTTYController(const std::string& symlink, unsigned int speed, bool assertRTS = false);
|
||||
virtual ~CPseudoTTYController();
|
||||
|
||||
virtual bool open();
|
||||
|
||||
virtual void close();
|
||||
|
||||
protected:
|
||||
std::string m_symlink;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user