Improve readability with getHandle inline

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Mon Dec 01 14:31:20 2014 +0000
Parent:
222:33b04c693e83
Child:
224:c55213f24647
Commit message:
Synchronized with git rev eaa62b87
Author: Rohit Grover
should still call configureGAP after updating powerLevels.

Changed in this revision

services/URIBeaconConfigService.h Show annotated file Show diff for this revision Revisions of this file
--- a/services/URIBeaconConfigService.h	Mon Dec 01 14:31:19 2014 +0000
+++ b/services/URIBeaconConfigService.h	Mon Dec 01 14:31:20 2014 +0000
@@ -145,6 +145,7 @@
      */
     void setTxPowerLevels(const int8_t powerLevelsIn[NUM_POWER_MODES]) {
         memcpy(powerLevels, powerLevelsIn, sizeof(powerLevels));
+        configureGAP();
         updateTxPowerLevelsCharacteristic();
     }