diff --git a/src/comm/BluetoothLink.cc b/src/comm/BluetoothLink.cc index e0120bcf0289283e3960ea702526ac20a10e349d..52295790bbb3db837c5c17f483eda832e8bc3c12 100644 --- a/src/comm/BluetoothLink.cc +++ b/src/comm/BluetoothLink.cc @@ -78,7 +78,7 @@ void BluetoothLink::_writeBytes(const QByteArray bytes) { if (_targetSocket) { if(_targetSocket->write(bytes) > 0) { - emit bytesSent(this, data); + emit bytesSent(this, bytes); _logOutputDataRate(bytes.size(), QDateTime::currentMSecsSinceEpoch()); } else { qWarning() << "Bluetooth write error";