mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-12-25 04:00:46 +01:00
doc: mention 0 is forever for NimBLESCan::start
Document that setting `duration` to zero means to scan forever.
This commit is contained in:
parent
ed2c59d5de
commit
a7ff1beacd
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ bool NimBLEScan::isScanning() {
|
|||
|
||||
/**
|
||||
* @brief Start scanning.
|
||||
* @param [in] duration The duration in milliseconds for which to scan.
|
||||
* @param [in] duration The duration in milliseconds for which to scan. 0 == scan forever.
|
||||
* @param [in] is_continue Set to true to save previous scan results, false to clear them.
|
||||
* @return True if scan started or false if there was an error.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue