mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix const correctness of ::Gap::getRandomAddressType
parent
51e1c76b4a
commit
dfbf383614
|
|
@ -1068,7 +1068,7 @@ public:
|
|||
* the address in input was not identifiable as a random address.
|
||||
*/
|
||||
static ble_error_t getRandomAddressType(
|
||||
BLEProtocol::AddressBytes_t address,
|
||||
const BLEProtocol::AddressBytes_t address,
|
||||
RandomAddressType_t* addressType
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
#include "ble/Gap.h"
|
||||
|
||||
ble_error_t Gap::getRandomAddressType(
|
||||
BLEProtocol::AddressBytes_t address,
|
||||
const BLEProtocol::AddressBytes_t address,
|
||||
RandomAddressType_t* type
|
||||
) {
|
||||
// see section Device address in Bluetooth Link Layer specification
|
||||
|
|
|
|||
Loading…
Reference in New Issue