From 573a27d90ad2f00bfd2c639d3018e65d29099071 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 24 Sep 2009 01:52:57 +0000 Subject: Fix incorrect names for the HID Host protocol setting routines. --- Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c | 2 +- Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c | 2 +- Demos/Host/ClassDriver/MouseHost/MouseHost.c | 2 +- Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Demos') diff --git a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c index 45cf5e5aa..0f901dddb 100644 --- a/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c +++ b/Demos/Host/ClassDriver/KeyboardHost/KeyboardHost.c @@ -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); diff --git a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c index e9af0c0b2..d8a719d48 100644 --- a/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c +++ b/Demos/Host/ClassDriver/KeyboardHostWithParser/KeyboardHostWithParser.c @@ -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); diff --git a/Demos/Host/ClassDriver/MouseHost/MouseHost.c b/Demos/Host/ClassDriver/MouseHost/MouseHost.c index 7434e7c6e..ffeba5da5 100644 --- a/Demos/Host/ClassDriver/MouseHost/MouseHost.c +++ b/Demos/Host/ClassDriver/MouseHost/MouseHost.c @@ -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); diff --git a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c index 0aa7d4ad6..0beec9a12 100644 --- a/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c +++ b/Demos/Host/ClassDriver/MouseHostWithParser/MouseHostWithParser.c @@ -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); -- cgit v1.2.3