Improve readability with getHandle inline
Fork of BLE_API by
Diff: services/URIBeacon2Service.h
- Revision:
- 191:6710298104b0
- Parent:
- 190:ad1ed2b5ea52
- Child:
- 192:3fd3dcf49005
--- a/services/URIBeacon2Service.h Fri Nov 28 14:11:24 2014 +0000 +++ b/services/URIBeacon2Service.h Fri Nov 28 14:11:24 2014 +0000 @@ -109,7 +109,7 @@ /** * Set the effective power mode from one of the values in the powerLevels tables. */ - void setPowerMode(TXPowerModes_t mode) { + void useTxPowerMode(TXPowerModes_t mode) { effectivePower = powerLevels[mode]; configure(); }