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 b82bd82 commit f1360deCopy full SHA for f1360de
src/HID/HID.cpp
@@ -266,7 +266,7 @@ bool HID_::setup(USBSetup& setup)
266
}
267
268
HID_::HID_(void) : PluggableUSBModule(2, 1, epType),
269
- protocol(HID_REPORT_PROTOCOL), idle(1)
+ protocol(HID_REPORT_PROTOCOL)
270
{
271
epType[0] = EP_TYPE_INTERRUPT_IN;
272
epType[1] = EP_TYPE_INTERRUPT_OUT;
src/HID/HID.h
@@ -145,7 +145,7 @@ class HID_ : public PluggableUSBModule
145
uint16_t descriptorSize = 1;
146
147
uint8_t protocol;
148
- uint8_t idle;
+ uint8_t idle = 1;
149
150
// Buffer pointer to hold the feature data
151
HIDReport* rootReport = nullptr;
0 commit comments