make it explicit that no device-controller is loaded down with this version
This commit is contained in:
		
							
								
								
									
										20
									
								
								update.cpp
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								update.cpp
									
									
									
									
									
								
							@@ -605,19 +605,19 @@ bool Update::doUpdate(int &displayIndex, QStringList const &filesToWorkOn) {
 | 
			
		||||
 | 
			
		||||
            // CONSOLE()
 | 
			
		||||
 | 
			
		||||
            m_hw->dc_autoRequest(false);// default: turn auto-request setting off
 | 
			
		||||
            QThread::sleep(1);          // wait to be sure that there are no more
 | 
			
		||||
                                        // commands sent to dc-hardware
 | 
			
		||||
 | 
			
		||||
            if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) {
 | 
			
		||||
            // m_hw->dc_autoRequest(false);// default: turn auto-request setting off
 | 
			
		||||
            // QThread::sleep(1);          // wait to be sure that there are no more
 | 
			
		||||
            //                            // commands sent to dc-hardware
 | 
			
		||||
 | 
			
		||||
            // if ((updateBinaryRes = updateBinary(fToWorkOn)) == true) {
 | 
			
		||||
            //
 | 
			
		||||
                // qCritical() << "downloaded binary" << fToWorkOn;
 | 
			
		||||
 | 
			
		||||
                ++displayIndex;
 | 
			
		||||
                emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")")
 | 
			
		||||
                    + QString(" Update ") + QFileInfo(fToWorkOn).fileName(),
 | 
			
		||||
                    Worker::UPDATE_STEP_DONE);
 | 
			
		||||
            }
 | 
			
		||||
            //    ++displayIndex;
 | 
			
		||||
            //    emit m_worker->appendText(QString("\n(") + QString("%1").arg(displayIndex).rightJustified(2, ' ') + QString(")")
 | 
			
		||||
            //        + QString(" Update ") + QFileInfo(fToWorkOn).fileName(),
 | 
			
		||||
            //        Worker::UPDATE_STEP_DONE);
 | 
			
		||||
            //}
 | 
			
		||||
 | 
			
		||||
            m_hw->dc_autoRequest(true); // turn auto-request setting on
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user