Commit a2a20353 authored by Nate Weibley's avatar Nate Weibley
Browse files

Fix BluetoothLink::writeBytes reference to size

parent 0aaca176
...@@ -96,7 +96,7 @@ void BluetoothLink::writeBytes(const QByteArray bytes) ...@@ -96,7 +96,7 @@ void BluetoothLink::writeBytes(const QByteArray bytes)
if(_targetSocket->isWritable()) if(_targetSocket->isWritable())
{ {
if(_targetSocket->write(bytes) > 0) { if(_targetSocket->write(bytes) > 0) {
_logOutputDataRate(size, QDateTime::currentMSecsSinceEpoch()); _logOutputDataRate(bytes.size(), QDateTime::currentMSecsSinceEpoch());
} }
else else
qWarning() << "Bluetooth write error"; qWarning() << "Bluetooth write error";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment