forked from GerhardHoffmann/DCLibraries
Minor: remove some obsolete (commented) lines.
This commit is contained in:
parent
5cfc346317
commit
b05325e5f4
@ -304,7 +304,6 @@ DownloadThread::sendNextAddress(int bNum) const {
|
|||||||
int noAnswerCount = 0;
|
int noAnswerCount = 0;
|
||||||
int errorCount = 0;
|
int errorCount = 0;
|
||||||
if ( bNum==0 || bNum==1024 || bNum==2048 || bNum==3072 || bNum==4096 ) {
|
if ( bNum==0 || bNum==1024 || bNum==2048 || bNum==3072 || bNum==4096 ) {
|
||||||
// qDebug() << "addr-block" << bNum << "...";
|
|
||||||
while (noAnswerCount <= 250) {
|
while (noAnswerCount <= 250) {
|
||||||
m_hw->bl_sendAddress(bNum);
|
m_hw->bl_sendAddress(bNum);
|
||||||
QThread::msleep(100);
|
QThread::msleep(100);
|
||||||
@ -343,9 +342,6 @@ DownloadThread::sendNextDataBlock(QByteArray const &binary, int bNum) const {
|
|||||||
memcpy(local, binary.constData() + bAddr, 64);
|
memcpy(local, binary.constData() + bAddr, 64);
|
||||||
local[64] = local[65] = 0x00;
|
local[64] = local[65] = 0x00;
|
||||||
|
|
||||||
// QByteArray b((const char *)(&local[0]), 64);
|
|
||||||
// qCritical() << "SNDB" << bNum << b.size() << b.toHex();
|
|
||||||
|
|
||||||
while (noAnswerCount <= 250) {
|
while (noAnswerCount <= 250) {
|
||||||
m_hw->bl_sendDataBlock(64, local);
|
m_hw->bl_sendDataBlock(64, local);
|
||||||
QThread::msleep(10);
|
QThread::msleep(10);
|
||||||
|
Loading…
Reference in New Issue
Block a user