We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b23dc5 + 6cd2ae8 commit 61fc76eCopy full SHA for 61fc76e
BLE_LED/source/LEDService.h
@@ -22,7 +22,7 @@ class LEDService {
22
const static uint16_t LED_SERVICE_UUID = 0xA000;
23
const static uint16_t LED_STATE_CHARACTERISTIC_UUID = 0xA001;
24
25
- LEDService(BLEDevice &_ble, bool initialValueForLEDCharacteristic) :
+ LEDService(BLE &_ble, bool initialValueForLEDCharacteristic) :
26
ble(_ble), ledState(LED_STATE_CHARACTERISTIC_UUID, &initialValueForLEDCharacteristic)
27
{
28
GattCharacteristic *charTable[] = {&ledState};
@@ -37,7 +37,7 @@ class LEDService {
37
}
38
39
private:
40
- BLEDevice &ble;
+ BLE &ble;
41
ReadWriteGattCharacteristic<bool> ledState;
42
};
43
0 commit comments