"after dc_download restart autorequest or else E255"
This commit is contained in:
		@@ -439,9 +439,11 @@ int Update::run() {
 | 
			
		||||
        stopBootloader();   // there is no harm in stopping the bootloader even
 | 
			
		||||
                            // if starting the bootloader failed
 | 
			
		||||
        qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-SUCCESS>";
 | 
			
		||||
        m_hw->dc_autoRequest(true); //restart dc_autoRequest after download else E255!
 | 
			
		||||
        return -(int)Result::SUCCESS;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    qInfo() << nextTimePoint().toUtf8().constData() << "<DC-UPDATE-FAILURE>";
 | 
			
		||||
    //To Do Error handling if Dc doesnt start after download
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user