Improve readability with getHandle inline

Fork of BLE_API by Bluetooth Low Energy

Revision:
220:e75e8ba1ff80
Parent:
219:5603d539120c
Child:
221:f813cddc145b
--- a/services/URIBeaconConfigService.h	Mon Dec 01 14:31:19 2014 +0000
+++ b/services/URIBeaconConfigService.h	Mon Dec 01 14:31:19 2014 +0000
@@ -338,6 +338,8 @@
         updateURIDataCharacteristic();
         updateFlagsCharacteristic();
         updateBeaconPeriodCharacteristic();
+        updateTxPowerLevelsCharacteristic();
+        updateTxPowerModeCharacteristic();
     }
 
     void updateLockedStateCharacteristic(void) {
@@ -357,7 +359,7 @@
     }
 
     void updateTxPowerModeCharacteristic(void) {
-
+        ble.updateCharacteristicValue(txPowerModeChar.getValueAttribute().getHandle(), reinterpret_cast<uint8_t *>(&txPowerMode), sizeof(uint8_t));
     }
 
     void updateTxPowerLevelsCharacteristic(void) {