diff options
Diffstat (limited to 'examples/BLE_notify/BLE_notify.ino')
-rw-r--r-- | examples/BLE_notify/BLE_notify.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/BLE_notify/BLE_notify.ino b/examples/BLE_notify/BLE_notify.ino index 44506c2..8d329c2 100644 --- a/examples/BLE_notify/BLE_notify.ino +++ b/examples/BLE_notify/BLE_notify.ino @@ -53,7 +53,7 @@ void setup() { BLEDevice::init("MyESP32"); // Create the BLE Server - BLEServer *pServer = new BLEServer(); + BLEServer *pServer = BLEDevice::createServer(); pServer->setCallbacks(new MyServerCallbacks()); // Create the BLE Service |