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()
3030{
3131 usb_hid.setPollInterval (2 );
3232 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 );
3434
3535 usb_hid.begin ();
3636
@@ -83,7 +83,7 @@ void loop()
8383 // 6 is max keycode per report
8484 if (count == 6 )
8585 {
86- usb_hid.keyboadReport (0 , 0 , keycode);
86+ usb_hid.keyboardReport (0 , 0 , keycode);
8787 delay (2 ); // delay for report to send out
8888
8989 // reset report
@@ -100,7 +100,7 @@ void loop()
100100 // Send any remaining keys (not accumulated up to 6)
101101 if ( count )
102102 {
103- usb_hid.keyboadReport (0 , 0 , keycode);
103+ usb_hid.keyboardReport (0 , 0 , keycode);
104104 }
105105
106106 // Send All-zero report to indicate there is no keys pressed
You can’t perform that action at this time.
0 commit comments