Merge pull request #9776 from ConradBraam/adv_builder

adv builder helper now returns an object
pull/9781/head
Cruz Monrreal 2019-02-20 12:04:51 -06:00 committed by GitHub
commit b1d0d9e95c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -158,6 +158,7 @@ public:
AdvertisingDataSimpleBuilder &setAdvertisingInterval(adv_interval_t interval)
{
MBED_ASSERT(_builder.setAdvertisingInterval(interval) == BLE_ERROR_NONE);
return *this;
}
/**