btdrv: Updated param names + docs.

This commit is contained in:
yellows8 2021-02-02 15:51:31 -05:00
parent e48f1c339f
commit 7751df9356
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43
2 changed files with 5 additions and 5 deletions

View File

@ -504,10 +504,10 @@ Result btdrvEnableRadio(bool flag);
/** /**
* @brief SetVisibility * @brief SetVisibility
* @note This is used by btm-sysmodule. * @note This is used by btm-sysmodule.
* @param[in] flag0 Unknown flag. * @param[in] inquiry_scan Controls Inquiry Scan, whether the device can be discovered during Inquiry.
* @param[in] flag1 Unknown flag. * @param[in] page_scan Controls Page Scan, whether the device accepts connections.
*/ */
Result btdrvSetVisibility(bool flag0, bool flag1); Result btdrvSetVisibility(bool inquiry_scan, bool page_scan);
/** /**
* @brief EnableTbfcScan * @brief EnableTbfcScan

View File

@ -367,8 +367,8 @@ Result btdrvEnableRadio(bool flag) {
return _btdrvCmdInBoolNoOut(flag, 34); return _btdrvCmdInBoolNoOut(flag, 34);
} }
Result btdrvSetVisibility(bool flag0, bool flag1) { Result btdrvSetVisibility(bool inquiry_scan, bool page_scan) {
return _btdrvCmdTwoInBoolsNoOut(flag0, flag1, 35); return _btdrvCmdTwoInBoolsNoOut(inquiry_scan, page_scan, 35);
} }
Result btdrvEnableTbfcScan(bool flag) { Result btdrvEnableTbfcScan(bool flag) {