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:
Kristian Lauszus 2013-12-13 10:41:59 +01:00
parent 184770489f
commit 471a8d9163

View file

@ -31,8 +31,6 @@ protocolMode(HID_BOOT_PROTOCOL)
pBtd->registerServiceClass(this); // Register it as a Bluetooth service
pBtd->pairWithHIDDevice = pair;
if (pair)
pBtd->btdPin= pin;
/* Set device cid for the control and intterrupt channelse - LSB */