Changeset 55df597 in subsurface


Ignore:
Timestamp:
Jul 9, 2017, 11:57:32 AM (3 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
d2a5bf8
Parents:
4b9ba4c3
Message:

BLE support: the G2 wants packages one at a time

Just like the EON Steel it doesn't want us to loop until all packages
have been received.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/qt-ble.cpp

    r4834f51 r55df597  
    2929#define IS_SHEARWATER(_d) same_string((_d)->vendor, "Shearwater")
    3030#define IS_EON_STEEL(_d) same_string((_d)->product, "EON Steel")
     31#define IS_G2(_d) same_string((_d)->product, "G2")
    3132
    3233extern "C" {
     
    211212                        *actual += packet.size();
    212213                        // EON Steel wants to read only one packet at a time
    213                         if (IS_EON_STEEL(device))
     214                        if (IS_EON_STEEL(device) || IS_G2(device))
    214215                                goto we_are_done;
    215216                }
Note: See TracChangeset for help on using the changeset viewer.