From a2a203530e514a56c58e45349b8e6385c0ca57a1 Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Fri, 25 Mar 2016 14:53:31 -0400 Subject: [PATCH] Fix BluetoothLink::writeBytes reference to size --- src/comm/BluetoothLink.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comm/BluetoothLink.cc b/src/comm/BluetoothLink.cc index f1645e2..5062d12 100644 --- a/src/comm/BluetoothLink.cc +++ b/src/comm/BluetoothLink.cc @@ -96,7 +96,7 @@ void BluetoothLink::writeBytes(const QByteArray bytes) if(_targetSocket->isWritable()) { if(_targetSocket->write(bytes) > 0) { - _logOutputDataRate(size, QDateTime::currentMSecsSinceEpoch()); + _logOutputDataRate(bytes.size(), QDateTime::currentMSecsSinceEpoch()); } else qWarning() << "Bluetooth write error";