mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 06:53:42 +00:00
Clean up the I2C code.
This commit is contained in:
parent
d16a06db07
commit
03682b000a
6 changed files with 111 additions and 112 deletions
|
|
@ -42,7 +42,7 @@ enum SERIAL_SPEED {
|
|||
|
||||
class CSerialController : public ISerialPort {
|
||||
public:
|
||||
CSerialController(const std::string& device, SERIAL_SPEED speed, const std::string& protocol = "uart", unsigned int address = 0x22, bool assertRTS = false);
|
||||
CSerialController(const std::string& device, SERIAL_SPEED speed, const std::string& protocol = "uart", unsigned int address = 0x22U, bool assertRTS = false);
|
||||
virtual ~CSerialController();
|
||||
|
||||
virtual bool open();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue