Changeset fbaaa64 in subsurface


Ignore:
Timestamp:
Jul 11, 2017, 8:11:49 AM (2 months ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
b9f691a
Parents:
8911281
Message:

Trivial code cleanup

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/qt-ble.cpp

    rb409e9f rfbaaa64  
    7070                        receivedPackets.append(value);
    7171                        if (hw_credit == MINIMAL_HW_CREDIT)
    72                                 setHwCredit(MAXIMAL_HW_CREDIT - hw_credit);
     72                                setHwCredit(MAXIMAL_HW_CREDIT - MINIMAL_HW_CREDIT);
    7373                } else {
    7474                        qDebug() << "ignore packet from" << c.uuid() << value.toHex();
     
    9595void BLEObject::writeCompleted(const QLowEnergyDescriptor &d, const QByteArray &value)
    9696{
    97         qDebug() << "BLE write completed on" << d.name() <<  d.value();
     97        Q_UNUSED(value)
     98        Q_UNUSED(d)
     99        qDebug() << "BLE write completed";
    98100}
    99101
Note: See TracChangeset for help on using the changeset viewer.