File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/HID/hid_keyboard Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ void setup()
30
30
{
31
31
usb_hid.setPollInterval (2 );
32
32
usb_hid.setReportDescriptor (desc_hid_report, sizeof (desc_hid_report));
33
- usb_hid.setReportCallback (NULL , set_report_callback_t set_report );
33
+ usb_hid.setReportCallback (NULL , hid_report_callback );
34
34
35
35
usb_hid.begin ();
36
36
@@ -83,7 +83,7 @@ void loop()
83
83
// 6 is max keycode per report
84
84
if (count == 6 )
85
85
{
86
- usb_hid.keyboadReport (0 , 0 , keycode);
86
+ usb_hid.keyboardReport (0 , 0 , keycode);
87
87
delay (2 ); // delay for report to send out
88
88
89
89
// reset report
@@ -100,7 +100,7 @@ void loop()
100
100
// Send any remaining keys (not accumulated up to 6)
101
101
if ( count )
102
102
{
103
- usb_hid.keyboadReport (0 , 0 , keycode);
103
+ usb_hid.keyboardReport (0 , 0 , keycode);
104
104
}
105
105
106
106
// Send All-zero report to indicate there is no keys pressed
You can’t perform that action at this time.
0 commit comments