adaptation for bkap
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 210:08c4c85ca679
- Parent:
- 201:a9bc2e8b01d7
- Child:
- 212:8b5ff0f0186f
- Child:
- 213:781abfbf2d1c
--- a/source/BlueNRGGap.cpp Tue Dec 15 12:23:30 2015 +0100 +++ b/source/BlueNRGGap.cpp Thu Jan 14 10:50:59 2016 +0100 @@ -706,7 +706,7 @@ /**************************************************************************/ ble_error_t BlueNRGGap::setAddress(AddressType_t type, const Address_t address) { - if (type > ADDR_TYPE_RANDOM_PRIVATE_NON_RESOLVABLE) { + if (type > BLEProtocol::AddressType::RANDOM_PRIVATE_NON_RESOLVABLE) { return BLE_ERROR_PARAM_OUT_OF_RANGE; }