/
11111
1
Fork of nRF51822 by
Diff: nRF51Gap.cpp
- Revision:
- 270:3edb22234707
- Parent:
- 269:9d7eb76bf65d
- Child:
- 300:fcc5bbc48739
--- a/nRF51Gap.cpp Fri Jun 19 15:55:25 2015 +0100 +++ b/nRF51Gap.cpp Fri Jun 19 15:55:25 2015 +0100 @@ -369,7 +369,7 @@ @endcode */ /**************************************************************************/ -ble_error_t nRF51Gap::setAddress(AddressType_t type, const address_t address) +ble_error_t nRF51Gap::setAddress(AddressType_t type, const Address_t address) { if (type > ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE) { return BLE_ERROR_PARAM_OUT_OF_RANGE; @@ -384,7 +384,7 @@ return BLE_ERROR_NONE; } -ble_error_t nRF51Gap::getAddress(AddressType_t *typeP, address_t address) +ble_error_t nRF51Gap::getAddress(AddressType_t *typeP, Address_t address) { ble_gap_addr_t dev_addr; if (sd_ble_gap_address_get(&dev_addr) != NRF_SUCCESS) {