diff --git a/ble/Gap.h b/ble/Gap.h index ff4ac81..461692b 100644 --- a/ble/Gap.h +++ b/ble/Gap.h @@ -279,10 +279,10 @@ public: /** * Create a connection (GAP Link Establishment). * - * @note: deprecated. This funtion overloads Gap::connect(const BLEProtocol::Address_t peerAddr, - BLEProtocol::AddressType_t peerAddrType, - const ConnectionParams_t *connectionParams, - const GapScanningParams *scanParams) + * \deprecated: This funtion overloads Gap::connect(const BLEProtocol::Address_t peerAddr, + BLEProtocol::AddressType_t peerAddrType, + const ConnectionParams_t *connectionParams, + const GapScanningParams *scanParams) * to maintain backward compatibility for change from Gap::AddressType_t to BLEProtocol::AddressType_t */ ble_error_t connect(const BLEProtocol::Address_t peerAddr, diff --git a/ble/deprecate.h b/ble/deprecate.h index 05c0b70..47fd3bb 100644 --- a/ble/deprecate.h +++ b/ble/deprecate.h @@ -20,7 +20,7 @@ #ifdef YOTTA_CFG_MBED_OS #include "compiler-polyfill/attributes.h" #else - #define __deprecated_message + #define __deprecated_message(msg) #endif #endif \ No newline at end of file diff --git a/module.json b/module.json index 61be06f..28b5580 100644 --- a/module.json +++ b/module.json @@ -36,7 +36,7 @@ }, "mbed-os": { "mbed-drivers": "*", - "compilerpolyfill": "^1.2.1" + "compiler-polyfill": "^1.2.1" } } }