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 90985d3 commit 288c250Copy full SHA for 288c250
src/Keyboard.cpp
@@ -63,7 +63,7 @@ static const uint8_t _hidReportDescriptor[] PROGMEM = {
63
Keyboard_::Keyboard_(void)
64
{
65
static HIDDescriptorListNode node(_hidReportDescriptor, sizeof(_hidReportDescriptor));
66
- HID.AppendDescriptor(&node);
+ HID().AppendDescriptor(&node);
67
}
68
69
void Keyboard_::begin(void)
@@ -76,7 +76,7 @@ void Keyboard_::end(void)
76
77
void Keyboard_::sendReport(KeyReport* keys)
78
79
- HID.SendReport(2,keys,sizeof(KeyReport));
+ HID().SendReport(2,keys,sizeof(KeyReport));
80
81
82
extern
src/Keyboard.h
@@ -94,7 +94,6 @@ class Keyboard_ : public Print
94
void releaseAll(void);
95
};
96
extern Keyboard_ Keyboard;
97
-extern HID_ HID;
98
99
#endif
100
0 commit comments