mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Set pin even if it should not pair to a device
Needed by some Bluetooth mice that always want authentication
This commit is contained in:
parent
184770489f
commit
471a8d9163
1 changed files with 1 additions and 3 deletions
|
@ -31,8 +31,6 @@ protocolMode(HID_BOOT_PROTOCOL)
|
||||||
pBtd->registerServiceClass(this); // Register it as a Bluetooth service
|
pBtd->registerServiceClass(this); // Register it as a Bluetooth service
|
||||||
|
|
||||||
pBtd->pairWithHIDDevice = pair;
|
pBtd->pairWithHIDDevice = pair;
|
||||||
|
|
||||||
if (pair)
|
|
||||||
pBtd->btdPin= pin;
|
pBtd->btdPin= pin;
|
||||||
|
|
||||||
/* Set device cid for the control and intterrupt channelse - LSB */
|
/* Set device cid for the control and intterrupt channelse - LSB */
|
||||||
|
|
Loading…
Reference in a new issue