mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Fix incorrect names for the HID Host protocol setting routines.
This commit is contained in:
@@ -99,7 +99,7 @@ int main(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (USB_HID_Host_SetBootProtocol(&Keyboard_HID_Interface) != 0)
|
||||
if (HID_Host_SetBootProtocol(&Keyboard_HID_Interface) != 0)
|
||||
{
|
||||
printf("Could not Set Boot Protocol Mode.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
@@ -104,7 +104,7 @@ int main(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (USB_HID_Host_SetReportProtocol(&Keyboard_HID_Interface) != 0)
|
||||
if (HID_Host_SetReportProtocol(&Keyboard_HID_Interface) != 0)
|
||||
{
|
||||
printf("Error Setting Report Protocol Mode or Not a Valid Keyboard.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
@@ -99,7 +99,7 @@ int main(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (USB_HID_Host_SetBootProtocol(&Mouse_HID_Interface) != 0)
|
||||
if (HID_Host_SetBootProtocol(&Mouse_HID_Interface) != 0)
|
||||
{
|
||||
printf("Could not Set Boot Protocol Mode.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
@@ -104,7 +104,7 @@ int main(void)
|
||||
break;
|
||||
}
|
||||
|
||||
if (USB_HID_Host_SetReportProtocol(&Mouse_HID_Interface) != 0)
|
||||
if (HID_Host_SetReportProtocol(&Mouse_HID_Interface) != 0)
|
||||
{
|
||||
printf("Error Setting Report Protocol Mode or Not a Valid Mouse.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user