mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Forgot to init protocolMode
This commit is contained in:
parent
27b8656f91
commit
0735774a46
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@
|
||||||
//#define PRINTREPORT // Uncomment to print the report send by the HID device
|
//#define PRINTREPORT // Uncomment to print the report send by the HID device
|
||||||
|
|
||||||
BTHID::BTHID(BTD *p, bool pair, const char *pin) :
|
BTHID::BTHID(BTD *p, bool pair, const char *pin) :
|
||||||
pBtd(p) // pointer to USB class instance - mandatory
|
pBtd(p), // pointer to USB class instance - mandatory
|
||||||
|
protocolMode(HID_BOOT_PROTOCOL)
|
||||||
{
|
{
|
||||||
for(uint8_t i = 0; i < epMUL; i++)
|
for(uint8_t i = 0; i < epMUL; i++)
|
||||||
pRptParser[i] = NULL;
|
pRptParser[i] = NULL;
|
||||||
|
|
Loading…
Reference in a new issue