diff --git a/update.cpp b/update.cpp index f8cf320..98bca1f 100644 --- a/update.cpp +++ b/update.cpp @@ -361,9 +361,14 @@ bool Update::openSerial(int br, QString baudrate, QString comPort) const { } void Update::closeSerial() const { + qInfo() << "CLOSED SERIAL" << m_baudrate << m_serialInterface; m_hw->dc_closeSerial(); } +bool Update::isSerialOpen() const { + return m_hw->dc_isPortOpen(); +} + bool Update::resetDeviceController() const { qDebug() << "resetting device controller..."; m_hw->bl_rebootDC();