Microbug / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
75:d08bdef22500
Parent:
73:eeb1ac3545e9
Child:
77:1436ecf09583
diff -r 301042c34cb8 -r d08bdef22500 hw/Gap.h
--- a/hw/Gap.h	Fri Jun 06 11:30:56 2014 +0100
+++ b/hw/Gap.h	Fri Jun 06 14:14:46 2014 +0100
@@ -42,8 +42,7 @@
 
     /* These functions must be defined in the sub-class */
     virtual ble_error_t setAddress(addr_type_t type, const uint8_t address[6]) = 0;
-    virtual ble_error_t setAdvertisingData(const GapAdvertisingData &,
-                                           const GapAdvertisingData &) = 0;
+    virtual ble_error_t setAdvertisingData(const GapAdvertisingData &, const GapAdvertisingData &) = 0;
     virtual ble_error_t startAdvertising(const GapAdvertisingParams &) = 0;
     virtual ble_error_t stopAdvertising(void)                    = 0;
     virtual ble_error_t disconnect(void)                         = 0;
@@ -95,11 +94,7 @@
     }
 
 protected:
-    Gap() :
-        state(),
-        onTimeout(NULL),
-        onConnection(NULL),
-        onDisconnection(NULL) {
+    Gap() : state(), onTimeout(NULL), onConnection(NULL), onDisconnection(NULL) {
         /* empty */
     }