diff options
-rw-r--r-- | core/qt-ble.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp index 1cbd57266..863b1804c 100644 --- a/core/qt-ble.cpp +++ b/core/qt-ble.cpp @@ -211,7 +211,7 @@ dc_status_t BLEObject::read(void *data, size_t size, size_t *actual) WAITFOR(!receivedPackets.isEmpty(), timeout); if (receivedPackets.isEmpty()) - return DC_STATUS_IO; + return DC_STATUS_TIMEOUT; } QByteArray packet = receivedPackets.takeFirst(); |