My fork of X_NUCLEO_IDB0XA1

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
212:8b5ff0f0186f
Parent:
203:5b9c78101d45
Parent:
210:08c4c85ca679
Child:
215:e8fa3129410a
--- 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;
     }