summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/qt-ble.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp
index ff4bc3eda..0ce52bc02 100644
--- a/core/qt-ble.cpp
+++ b/core/qt-ble.cpp
@@ -28,6 +28,7 @@ static int debugCounter;
#define IS_HW(_d) same_string((_d)->vendor, "Heinrichs Weikamp")
#define IS_SHEARWATER(_d) same_string((_d)->vendor, "Shearwater")
#define IS_EON_STEEL(_d) same_string((_d)->product, "EON Steel")
+#define IS_G2(_d) same_string((_d)->product, "G2")
extern "C" {
@@ -210,7 +211,7 @@ dc_status_t BLEObject::read(void *data, size_t size, size_t *actual)
offset += packet.size();
*actual += packet.size();
// EON Steel wants to read only one packet at a time
- if (IS_EON_STEEL(device))
+ if (IS_EON_STEEL(device) || IS_G2(device))
goto we_are_done;
}
waitFor(50); // and process some Qt events to see if there is more data coming in.