From 9798440ca4f694e7cd8312a51b82e59589f1ebeb Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 11 Jun 2009 06:15:45 +0000 Subject: Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers. --- Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c') diff --git a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c index 8c55dff3b..3c9fddfd4 100644 --- a/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c +++ b/Demos/Device/ClassDriver/RNDISEthernet/RNDISEthernet.c @@ -82,7 +82,7 @@ int main(void) TCP_TCPTask(&Ethernet_RNDIS_Interface); - USB_RNDIS_USBTask(&Ethernet_RNDIS_Interface); + RNDIS_Device_USBTask(&Ethernet_RNDIS_Interface); USB_USBTask(); } } @@ -120,12 +120,12 @@ void EVENT_USB_ConfigurationChanged(void) { LEDs_SetAllLEDs(LEDMASK_USB_READY); - if (!(USB_RNDIS_ConfigureEndpoints(&Ethernet_RNDIS_Interface))) + if (!(RNDIS_Device_ConfigureEndpoints(&Ethernet_RNDIS_Interface))) LEDs_SetAllLEDs(LEDMASK_USB_ERROR); } /** Event handler for the library USB Unhandled Control Packet event. */ void EVENT_USB_UnhandledControlPacket(void) { - USB_RNDIS_ProcessControlPacket(&Ethernet_RNDIS_Interface); + RNDIS_Device_ProcessControlPacket(&Ethernet_RNDIS_Interface); } -- cgit v1.2.3