summaryrefslogtreecommitdiff
path: root/examples/BLE_uart/BLE_uart.ino
diff options
context:
space:
mode:
authorkolban <kolban1@kolban.com>2017-10-13 13:26:21 -0500
committerkolban <kolban1@kolban.com>2017-10-13 13:26:21 -0500
commit98cd2290d036a4e27db061a76a512b526ef1cc14 (patch)
tree8c9264eb6af3a1fcffce84befded491a8af4517f /examples/BLE_uart/BLE_uart.ino
parentSync for 0.4.4 (diff)
downloadthermostat-98cd2290d036a4e27db061a76a512b526ef1cc14.tar.gz
thermostat-98cd2290d036a4e27db061a76a512b526ef1cc14.tar.bz2
thermostat-98cd2290d036a4e27db061a76a512b526ef1cc14.zip
Sync for 0.4.5
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