resetDeviceController(): deprecated.
This commit is contained in:
parent
9df46a1c49
commit
b6971c1db5
@ -340,13 +340,15 @@ bool Update::isSerialOpen() const {
|
|||||||
return m_hw->dc_isPortOpen();
|
return m_hw->dc_isPortOpen();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Update::resetDeviceController() const {
|
bool Update::resetDeviceController() const { // deprecated
|
||||||
|
return false;
|
||||||
|
#if 0
|
||||||
qDebug() << "resetting device controller...";
|
qDebug() << "resetting device controller...";
|
||||||
m_hw->bl_rebootDC();
|
m_hw->bl_rebootDC();
|
||||||
// wait maximally 3 seconds, before starting bootloader
|
// wait maximally 3 seconds, before starting bootloader
|
||||||
QThread::sleep(1);
|
|
||||||
qInfo() << "resetting device controller...OK";
|
qInfo() << "resetting device controller...OK";
|
||||||
return true;
|
return true;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray Update::loadBinaryDCFile(QString filename) const {
|
QByteArray Update::loadBinaryDCFile(QString filename) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user