Skip to content

Commit

Permalink
🔇 Temporary mute BLEKit calls for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Feb 8, 2022
1 parent e46e13d commit decca6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/BLEKit/source/BLEKit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ void BLEKit::init()
_core_gap.setDefaultAdvertising();
_core_gap.setDeviceName("Leka");

_core_gatt_server.setServer();
// _core_gap.onInit(std::bind(&CoreGattServer::updateData, &_core_gatt_server));
_core_gap.onInit([this] { _core_gatt_server.updateData(); }); // clang suggestion
// _core_gatt_server.setServer();
// // _core_gap.onInit(std::bind(&CoreGattServer::updateData, &_core_gatt_server));
// _core_gap.onInit([this] { _core_gatt_server.updateData(); }); // clang suggestion

_ble.init(&_core_gap, &CoreGap::onInitializationComplete);

Expand Down

0 comments on commit decca6c

Please sign in to comment.