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 395e4a9 commit b82bd82Copy full SHA for b82bd82
src/HID/HID.cpp
@@ -266,7 +266,6 @@ bool HID_::setup(USBSetup& setup)
266
}
267
268
HID_::HID_(void) : PluggableUSBModule(2, 1, epType),
269
- descriptorSize(0),
270
protocol(HID_REPORT_PROTOCOL), idle(1)
271
{
272
epType[0] = EP_TYPE_INTERRUPT_IN;
src/HID/HID.h
@@ -142,7 +142,7 @@ class HID_ : public PluggableUSBModule
142
uint8_t epType[2];
143
144
HIDSubDescriptor* rootNode = nullptr;
145
- uint16_t descriptorSize;
+ uint16_t descriptorSize = 1;
146
147
uint8_t protocol;
148
uint8_t idle;
0 commit comments