Maxim Integrated / MaximBLE

Dependents:   BLE_Thermometer MAXWSNENV_demo

Revision:
1:89048b73bc93
Parent:
0:b562096246b3
Child:
4:07f30e7452c0
--- a/MaximGap.cpp	Thu Mar 03 14:13:21 2016 +0000
+++ b/MaximGap.cpp	Thu Aug 18 15:42:02 2016 -0500
@@ -201,7 +201,7 @@
 
 ble_error_t MaximGap::setAddress(AddressType_t type, const Address_t address)
 {
-    if ((type != ADDR_TYPE_PUBLIC) && (type != ADDR_TYPE_RANDOM_STATIC)) {
+    if ((type != BLEProtocol::AddressType::PUBLIC) && (type != BLEProtocol::AddressType::RANDOM_STATIC)) {
         return BLE_ERROR_PARAM_OUT_OF_RANGE;
     }