File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ static const uint8_t _hidReportDescriptor[] PROGMEM = {
63
63
Keyboard_::Keyboard_ (void )
64
64
{
65
65
static HIDDescriptorListNode node (_hidReportDescriptor, sizeof (_hidReportDescriptor));
66
- HID.AppendDescriptor (&node);
66
+ HID () .AppendDescriptor (&node);
67
67
}
68
68
69
69
void Keyboard_::begin (void )
@@ -76,7 +76,7 @@ void Keyboard_::end(void)
76
76
77
77
void Keyboard_::sendReport (KeyReport* keys)
78
78
{
79
- HID.SendReport (2 ,keys,sizeof (KeyReport));
79
+ HID () .SendReport (2 ,keys,sizeof (KeyReport));
80
80
}
81
81
82
82
extern
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ class Keyboard_ : public Print
94
94
void releaseAll (void );
95
95
};
96
96
extern Keyboard_ Keyboard;
97
- extern HID_ HID;
98
97
99
98
#endif
100
99
#endif
You can’t perform that action at this time.
0 commit comments