Skip to content

Commit 85d2448

Browse files
facchinmcmaglie
authored andcommitted
rework HID class functions scopes
1 parent 41254db commit 85d2448

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Keyboard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void Keyboard_::end(void)
4444

4545
void Keyboard_::sendReport(KeyReport* keys)
4646
{
47-
HID_SendReport(2,keys,sizeof(KeyReport));
47+
HID.SendReport(2,keys,sizeof(KeyReport));
4848
}
4949

5050
const u8 _hidReportDescriptor[] PROGMEM = {

Keyboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,6 @@ class Keyboard_ : public Print
9696
virtual void releaseAll(void);
9797
};
9898
extern Keyboard_ Keyboard;
99+
extern HID_ HID;
99100

100101
#endif

0 commit comments

Comments
 (0)