Bluetooth: include: Fix wrong docs
We can't call function which used by static init veriable. Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
parent
fb90113dc8
commit
e35cbfb85c
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ enum {
|
||||||
* The application can set the device name itself by including the
|
* The application can set the device name itself by including the
|
||||||
* following in the advertising data.
|
* following in the advertising data.
|
||||||
* @code
|
* @code
|
||||||
* BT_DATA(BT_DATA_NAME_COMPLETE, name, strlen(name))
|
* BT_DATA(BT_DATA_NAME_COMPLETE, name, sizeof(name) - 1)
|
||||||
* @endcode
|
* @endcode
|
||||||
*/
|
*/
|
||||||
BT_LE_ADV_OPT_USE_NAME = BIT(3),
|
BT_LE_ADV_OPT_USE_NAME = BIT(3),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue