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