Skip to content

Commit 61fc76e

Browse files
authored
Merge pull request #294 from LDong-Arm/bledevice_fix
BLE_LED: fix old type name BLEDevice -> BLE
2 parents 3b23dc5 + 6cd2ae8 commit 61fc76e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BLE_LED/source/LEDService.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LEDService {
2222
const static uint16_t LED_SERVICE_UUID = 0xA000;
2323
const static uint16_t LED_STATE_CHARACTERISTIC_UUID = 0xA001;
2424

25-
LEDService(BLEDevice &_ble, bool initialValueForLEDCharacteristic) :
25+
LEDService(BLE &_ble, bool initialValueForLEDCharacteristic) :
2626
ble(_ble), ledState(LED_STATE_CHARACTERISTIC_UUID, &initialValueForLEDCharacteristic)
2727
{
2828
GattCharacteristic *charTable[] = {&ledState};
@@ -37,7 +37,7 @@ class LEDService {
3737
}
3838

3939
private:
40-
BLEDevice &ble;
40+
BLE &ble;
4141
ReadWriteGattCharacteristic<bool> ledState;
4242
};
4343

0 commit comments

Comments
 (0)