diff --git a/update.cpp b/update.cpp index cc3810a..a22fc87 100644 --- a/update.cpp +++ b/update.cpp @@ -335,16 +335,11 @@ void Update::closeSerial() const { bool Update::resetDeviceController() const { qDebug() << "resetting device controller..."; - //if (stopBootloader()) { // first stop a (maybe) running bootloader - // std::this_thread::sleep_for(std::chrono::milliseconds(1000)); m_hw->bl_rebootDC(); // wait maximally 3 seconds, before starting bootloader QThread::msleep(1500); qInfo() << "resetting device controller...OK"; return true; - //} - //qCritical() << "stopping bootloader...FAILED"; - //return false; } QByteArray Update::loadBinaryDCFile(QString filename) const {