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 = {
6363Keyboard_::Keyboard_ (void )
6464{
6565 static HIDDescriptorListNode node (_hidReportDescriptor, sizeof (_hidReportDescriptor));
66- HID.AppendDescriptor (&node);
66+ HID () .AppendDescriptor (&node);
6767}
6868
6969void Keyboard_::begin (void )
@@ -76,7 +76,7 @@ void Keyboard_::end(void)
7676
7777void Keyboard_::sendReport (KeyReport* keys)
7878{
79- HID.SendReport (2 ,keys,sizeof (KeyReport));
79+ HID () .SendReport (2 ,keys,sizeof (KeyReport));
8080}
8181
8282extern
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ class Keyboard_ : public Print
9494 void releaseAll (void );
9595};
9696extern Keyboard_ Keyboard;
97- extern HID_ HID;
9897
9998#endif
10099#endif
You can’t perform that action at this time.
0 commit comments