"shortened time to sendnextblock."
This commit is contained in:
		@@ -132,8 +132,8 @@ Update::sendNextAddress(int bNum) const {
 | 
			
		||||
        while (noAnswerCount <= 250) {
 | 
			
		||||
            m_hw->bl_sendAddress(bNum);
 | 
			
		||||
 | 
			
		||||
            QThread::msleep(100);
 | 
			
		||||
 | 
			
		||||
            QThread::msleep(10); //from 100ms to 20ms
 | 
			
		||||
//###################################################################################
 | 
			
		||||
            DownloadResult const res = sendStatus(m_hw->bl_wasSendingAddOK());
 | 
			
		||||
            if (res != DownloadResult::NOP) {
 | 
			
		||||
                if (res == DownloadResult::ERROR) {
 | 
			
		||||
@@ -173,7 +173,8 @@ Update::sendNextDataBlock(QByteArray const &binary, int bNum) const {
 | 
			
		||||
 | 
			
		||||
    qInfo() << s.toUtf8().constData();
 | 
			
		||||
 | 
			
		||||
    QThread::msleep(200);
 | 
			
		||||
    QThread::msleep(20); //reduce from 200 to 50 ms
 | 
			
		||||
    //############################################################################
 | 
			
		||||
 | 
			
		||||
    QByteArray b((const char *)(&local[0]), 64);
 | 
			
		||||
    qCritical() << "SNDB" << bNum << b.size() << b.toHex();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user