mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-20 20:22:38 +02:00
btdrv: document timeout parameter to btdrvTriggerConnection
This commit is contained in:
parent
17bcd07095
commit
0ba4f96bfe
@ -670,9 +670,9 @@ Result btdrvGetHidReport(BtdrvAddress addr, u8 report_id, BtdrvBluetoothHhReport
|
||||
* @brief TriggerConnection
|
||||
* @note This is used by btm-sysmodule.
|
||||
* @param[in] addr \ref BtdrvAddress
|
||||
* @param[in] unk [9.0.0+] Unknown
|
||||
* @param[in] timeout [9.0.0+] Host trigger timeout
|
||||
*/
|
||||
Result btdrvTriggerConnection(BtdrvAddress addr, u16 unk);
|
||||
Result btdrvTriggerConnection(BtdrvAddress addr, u16 timeout);
|
||||
|
||||
/**
|
||||
* @brief AddPairedDeviceInfo
|
||||
|
@ -417,13 +417,13 @@ Result btdrvGetHidReport(BtdrvAddress addr, u8 report_id, BtdrvBluetoothHhReport
|
||||
return serviceDispatchIn(&g_btdrvSrv, 22, in);
|
||||
}
|
||||
|
||||
Result btdrvTriggerConnection(BtdrvAddress addr, u16 unk) {
|
||||
Result btdrvTriggerConnection(BtdrvAddress addr, u16 timeout) {
|
||||
if (hosversionBefore(9,0,0)) return _btdrvCmdInAddrNoOut(addr, 23);
|
||||
|
||||
const struct {
|
||||
BtdrvAddress addr;
|
||||
u16 unk;
|
||||
} in = { addr, unk };
|
||||
u16 timeout;
|
||||
} in = { addr, timeout };
|
||||
|
||||
return serviceDispatchIn(&g_btdrvSrv, 23, in);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user