Merge pull request #6058 from pan-/fix-gap-type-static

Ble: fix size function in advertising_data_t and address_t.
pull/5742/merge
Cruz Monrreal 2018-02-12 10:28:32 -06:00 committed by GitHub
commit cf60266584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}