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 321fca0 commit 801a11cCopy full SHA for 801a11c
libraries/HID/src/HID.cpp
@@ -147,7 +147,7 @@ bool HID_::setup(USBSetup& setup)
147
}
148
149
HID_::HID_(void) : PluggableUSBModule(1, 1, epType),
150
- rootNode(NULL), descriptorSize(0),
+ rootNode(NULL),
151
protocol(HID_REPORT_PROTOCOL), idle(1)
152
{
153
epType[0] = EP_TYPE_INTERRUPT_IN;
libraries/HID/src/HID.h
@@ -107,7 +107,7 @@ class HID_ : public PluggableUSBModule
107
uint8_t epType[1];
108
109
HIDSubDescriptor* rootNode;
110
- uint16_t descriptorSize;
+ uint16_t descriptorSize = 0;
111
112
uint8_t protocol;
113
uint8_t idle;
0 commit comments