Dependencies:   mbed BLE_API nRF51822

Revision:
1:0932324a41f7
Parent:
0:81f1818af032
Child:
2:ed001667a2b6
--- a/bleservices/ServicePower.h	Wed Oct 21 11:32:45 2015 +0000
+++ b/bleservices/ServicePower.h	Wed Oct 21 21:43:58 2015 +0000
@@ -11,8 +11,8 @@
 public:
     ServicePower(BLE &_ble, Serial &_Serial, PowerSwitch &_Power, Light &_dayLight, FlashStore &_Store) :
         ble(_ble),
+        Tserial(_Serial),
         Power(_Power),
-        Tserial(_Serial),
         dayLight(_dayLight),
         Store(_Store),        
         valueCharacteristic(GattCharacteristic::UUID_USER_CONTROL_HUMIDITY, &powerValue, GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY),