mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Add more UMP logging.
This commit is contained in:
parent
ef4b03626b
commit
1994f0049a
1 changed files with 4 additions and 0 deletions
4
UMP.cpp
4
UMP.cpp
|
|
@ -62,6 +62,8 @@ bool CUMP::open()
|
|||
if (m_open)
|
||||
return true;
|
||||
|
||||
LogMessage("Opening the UMP");
|
||||
|
||||
bool ret = m_serial.open();
|
||||
if (!ret)
|
||||
return false;
|
||||
|
|
@ -252,6 +254,8 @@ void CUMP::close()
|
|||
if (!m_open)
|
||||
return;
|
||||
|
||||
LogMessage("Closing the UMP");
|
||||
|
||||
m_serial.close();
|
||||
|
||||
m_open = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue