Bike service

Fork of BLE_API by Bluetooth Low Energy

Revision:
1075:0d0dafb54bc9
Parent:
1074:1fedc77d9add
Child:
1082:127667021827
diff -r 1fedc77d9add -r 0d0dafb54bc9 source/BLE.cpp
--- a/source/BLE.cpp	Mon Jan 11 08:51:42 2016 +0000
+++ b/source/BLE.cpp	Mon Jan 11 08:51:43 2016 +0000
@@ -131,6 +131,7 @@
 
 ble_error_t BLE::shutdown(void)
 {
+    clearAdvertisingPayload();
     if (!transport) {
         error("bad handle to underlying transport");
     }