.
Dependencies: BLE_API nRF51822
Revision 4:2f2a2ac6b231, committed 2014-07-23
- Comitter:
- stiaje
- Date:
- Wed Jul 23 14:19:52 2014 +0000
- Parent:
- 3:5432b38585ea
- Commit message:
- return reference to ble instead of copy
Changed in this revision
Puck.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Puck.h Wed Jul 23 13:00:42 2014 +0000 +++ b/Puck.h Wed Jul 23 14:19:52 2014 +0000 @@ -95,7 +95,7 @@ public: static Puck &getPuck(); - BLEDevice getBle() { return ble; } + BLEDevice &getBle() { return ble; } PuckState getState() { return state; } void setState(PuckState state); void init(uint16_t minor);