Skip to content

Commit 57033ee

Browse files
committed
adv builder helper now returns an object
1 parent 0ca6ee8 commit 57033ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/FEATURE_BLE/ble/gap/AdvertisingDataSimpleBuilder.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class AdvertisingDataSimpleBuilder {
158158
AdvertisingDataSimpleBuilder &setAdvertisingInterval(adv_interval_t interval)
159159
{
160160
MBED_ASSERT(_builder.setAdvertisingInterval(interval) == BLE_ERROR_NONE);
161+
return *this;
161162
}
162163

163164
/**

0 commit comments

Comments
 (0)