mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Use correct file
This commit is contained in:
@@ -234,6 +234,7 @@ m_speed(speed),
|
|||||||
m_assertRTS(assertRTS),
|
m_assertRTS(assertRTS),
|
||||||
m_fd(-1)
|
m_fd(-1)
|
||||||
{
|
{
|
||||||
|
assert(!device.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
CSerialController::CSerialController(unsigned int speed, bool assertRTS) :
|
CSerialController::CSerialController(unsigned int speed, bool assertRTS) :
|
||||||
@@ -250,7 +251,6 @@ CSerialController::~CSerialController()
|
|||||||
|
|
||||||
bool CSerialController::open()
|
bool CSerialController::open()
|
||||||
{
|
{
|
||||||
assert(!m_device.empty());
|
|
||||||
assert(m_fd == -1);
|
assert(m_fd == -1);
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
|||||||
Reference in New Issue
Block a user