Fix issues

This commit is contained in:
Liyou Zhou 2015-12-22 13:56:14 +00:00
parent ec7df38a77
commit b2dd219ff4
3 changed files with 6 additions and 6 deletions

View file

@ -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,

View file

@ -20,7 +20,7 @@
#ifdef YOTTA_CFG_MBED_OS
#include "compiler-polyfill/attributes.h"
#else
#define __deprecated_message
#define __deprecated_message(msg)
#endif
#endif

View file

@ -36,7 +36,7 @@
},
"mbed-os": {
"mbed-drivers": "*",
"compilerpolyfill": "^1.2.1"
"compiler-polyfill": "^1.2.1"
}
}
}