We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 801a11c commit 0105748Copy full SHA for 0105748
libraries/HID/src/HID.cpp
@@ -148,7 +148,7 @@ bool HID_::setup(USBSetup& setup)
148
149
HID_::HID_(void) : PluggableUSBModule(1, 1, epType),
150
rootNode(NULL),
151
- protocol(HID_REPORT_PROTOCOL), idle(1)
+ protocol(HID_REPORT_PROTOCOL)
152
{
153
epType[0] = EP_TYPE_INTERRUPT_IN;
154
PluggableUSB().plug(this);
libraries/HID/src/HID.h
@@ -110,7 +110,7 @@ class HID_ : public PluggableUSBModule
110
uint16_t descriptorSize = 0;
111
112
uint8_t protocol;
113
- uint8_t idle;
+ uint8_t idle = 1;
114
};
115
116
// Replacement for global singleton.
0 commit comments