Add more UMP logging.
This commit is contained in:
parent
ef4b03626b
commit
1994f0049a
4
UMP.cpp
4
UMP.cpp
|
@ -62,6 +62,8 @@ bool CUMP::open()
|
||||||
if (m_open)
|
if (m_open)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
LogMessage("Opening the UMP");
|
||||||
|
|
||||||
bool ret = m_serial.open();
|
bool ret = m_serial.open();
|
||||||
if (!ret)
|
if (!ret)
|
||||||
return false;
|
return false;
|
||||||
|
@ -252,6 +254,8 @@ void CUMP::close()
|
||||||
if (!m_open)
|
if (!m_open)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
LogMessage("Closing the UMP");
|
||||||
|
|
||||||
m_serial.close();
|
m_serial.close();
|
||||||
|
|
||||||
m_open = false;
|
m_open = false;
|
||||||
|
|
Loading…
Reference in a new issue