"increased BL_start Timer (500 -> 1000) "
This commit is contained in:
		@@ -189,7 +189,7 @@ int main(int argc, char **argv) {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    Update u(fi.absoluteFilePath(), libca, debug, noaction);
 | 
			
		||||
    // u.run();
 | 
			
		||||
    u.run();
 | 
			
		||||
 | 
			
		||||
    qInfo() << "<DC-UPDATE-FINISH>";
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -400,19 +400,19 @@ int Update::run() {
 | 
			
		||||
        // TODO
 | 
			
		||||
        resetDeviceController();
 | 
			
		||||
        if (startBootloader()) {
 | 
			
		||||
#if 0
 | 
			
		||||
 | 
			
		||||
            int currentBlock = 0;
 | 
			
		||||
            DownloadResult res = DownloadResult::OK;
 | 
			
		||||
            qInfo() << nextTimePoint().toUtf8().constData() << "64-byte block" << currentBlock;
 | 
			
		||||
 | 
			
		||||
            while (res != DownloadResult::ERROR && currentBlock < m_totalBlocks) {
 | 
			
		||||
            while (res != DownloadResult::ERROR && currentBlock <= m_totalBlocks) {
 | 
			
		||||
                if ((res = sendNextAddress(currentBlock)) != DownloadResult::ERROR) {
 | 
			
		||||
                    if ((res = sendNextDataBlock(ba, currentBlock)) != DownloadResult::ERROR) {
 | 
			
		||||
                        currentBlock += 1;
 | 
			
		||||
                    } else break;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if 0
 | 
			
		||||
            qCritical() << "DownloadThread::run(): last 64-byte block %04d" << currentBlock;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user