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,9 +31,7 @@ protocolMode(HID_BOOT_PROTOCOL)
|
|||
pBtd->registerServiceClass(this); // Register it as a Bluetooth service
|
||||
|
||||
pBtd->pairWithHIDDevice = pair;
|
||||
|
||||
if (pair)
|
||||
pBtd->btdPin= pin;
|
||||
pBtd->btdPin= pin;
|
||||
|
||||
/* Set device cid for the control and intterrupt channelse - LSB */
|
||||
control_dcid[0] = 0x70; // 0x0070
|
||||
|
|
Loading…
Reference in a new issue