Skip to content

Commit e5edc9d

Browse files
committed
Add missing return documentation in NimBLEAdvertising.
1 parent 2e1d78f commit e5edc9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NimBLEAdvertising.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ void NimBLEAdvertising::setScanResponseData(NimBLEAdvertisementData& advertiseme
383383
* @brief Start advertising.
384384
* @param [in] duration The duration, in seconds, to advertise, 0 == advertise forever.
385385
* @param [in] advCompleteCB A pointer to a callback to be invoked when advertising ends.
386+
* @return True if advertising started successfully.
386387
*/
387388
bool NimBLEAdvertising::start(uint32_t duration, void (*advCompleteCB)(NimBLEAdvertising *pAdv)) {
388389
NIMBLE_LOGD(LOG_TAG, ">> Advertising start: customAdvData: %d, customScanResponseData: %d",

0 commit comments

Comments
 (0)