Skip to content

Commit 459bbf9

Browse files
authored
Update BLE_Publish.ino
1 parent b312d3f commit 459bbf9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libraries/BLE/examples/BLE_Publish/BLE_Publish.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,9 @@ void setup(){
9797

9898
// Create a BLE Characteristic
9999
pTxCharacteristic = pService->createCharacteristic(CHARACTERISTIC_UUID_TX, BLECharacteristic::PROPERTY_NOTIFY);
100-
101100
pTxCharacteristic->addDescriptor(new BLE2902());
102101

103102
BLECharacteristic *pRxCharacteristic = pService->createCharacteristic(CHARACTERISTIC_UUID_RX, BLECharacteristic::PROPERTY_WRITE);
104-
105103
pRxCharacteristic->setCallbacks(new MyCallbacks());
106104

107105
// Start the service

0 commit comments

Comments
 (0)