Minor temporary patch to allow DFU packet callback
Fork of BLE_API by
Revision 91:311bde45b251, committed 2014-06-11
- Comitter:
- Rohit Grover
- Date:
- Wed Jun 11 14:14:04 2014 +0100
- Parent:
- 90:f245e2d96aa0
- Child:
- 92:3781dc6f8c18
- Commit message:
- use const reference in constructor for GattService
Changed in this revision
GattService.cpp | Show annotated file Show diff for this revision Revisions of this file |
GattService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/GattService.cpp Wed Jun 11 14:12:14 2014 +0100 +++ b/GattService.cpp Wed Jun 11 14:14:04 2014 +0100 @@ -36,7 +36,7 @@ @endcode */ /**************************************************************************/ -GattService::GattService(UUID uuid) : primaryServiceID(uuid), characteristicCount(0), characteristics(), handle(0) +GattService::GattService(const UUID &uuid) : primaryServiceID(uuid), characteristicCount(0), characteristics(), handle(0) { /* empty */ }
--- a/GattService.h Wed Jun 11 14:12:14 2014 +0100 +++ b/GattService.h Wed Jun 11 14:14:04 2014 +0100 @@ -34,7 +34,7 @@ private: public: - GattService(UUID uuid); + GattService(const UUID &uuid); virtual ~GattService(void); ble_error_t addCharacteristic(GattCharacteristic &);