Ble: fix size function in advertising_data_t and address_t.

pull/6058/head
Vincent Coubard 2018-02-09 16:43:29 +00:00
parent 04f0f2b1aa
commit 2e64b710a1
1 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ struct address_t {
/**
* Size in byte of a mac address.
*/
static uint8_t size() {
uint8_t size() const {
return sizeof(value);
}
@ -543,7 +543,7 @@ struct advertising_data_t {
/**
* Return (fixed) size of advertising data.
*/
static uint8_t size() {
uint8_t size() const {
return sizeof(value);
}