summaryrefslogtreecommitdiff
path: root/examples/BLE_uart/BLE_uart.ino
diff options
context:
space:
mode:
Diffstat (limited to 'examples/BLE_uart/BLE_uart.ino')
-rw-r--r--examples/BLE_uart/BLE_uart.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/BLE_uart/BLE_uart.ino b/examples/BLE_uart/BLE_uart.ino
index a8ab2d7..a348a66 100644
--- a/examples/BLE_uart/BLE_uart.ino
+++ b/examples/BLE_uart/BLE_uart.ino
@@ -70,7 +70,7 @@ void setup() {
BLEDevice::init("UART Service");
// Create the BLE Server
- BLEServer *pServer = new BLEServer();
+ BLEServer *pServer = BLEDevice::createServer();
pServer->setCallbacks(new MyServerCallbacks());
// Create the BLE Service