adaptation for bkap
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/BlueNRGGap.cpp
- Revision:
- 212:8b5ff0f0186f
- Parent:
- 203:5b9c78101d45
- Parent:
- 210:08c4c85ca679
- Child:
- 215:e8fa3129410a
diff -r d7cb3b3d0295 -r 8b5ff0f0186f source/BlueNRGGap.cpp --- a/source/BlueNRGGap.cpp Tue Dec 15 12:27:48 2015 +0100 +++ b/source/BlueNRGGap.cpp Thu Jan 14 11:19:43 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; }