projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and Endpoint_AbortPendingIN...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
RNDISEthernet
/
RNDISEthernet.c
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
b/Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
index
e8eda4c
..
eb1e876
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
+++ b/
Demos/Device/LowLevel/RNDISEthernet/RNDISEthernet.c
@@
-3,7
+3,7
@@
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
@@
-121,7
+121,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
/* Process RNDIS class commands */
switch (USB_ControlRequest.bRequest)
{
/* Process RNDIS class commands */
switch (USB_ControlRequest.bRequest)
{
- case REQ_SendEncapsulatedCommand:
+ case R
NDIS_R
EQ_SendEncapsulatedCommand:
if (USB_ControlRequest.bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE))
{
Endpoint_ClearSETUP();
if (USB_ControlRequest.bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE))
{
Endpoint_ClearSETUP();
@@
-135,7
+135,7
@@
void EVENT_USB_Device_UnhandledControlRequest(void)
}
break;
}
break;
- case REQ_GetEncapsulatedResponse:
+ case R
NDIS_R
EQ_GetEncapsulatedResponse:
if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE))
{
/* Check if a response to the last message is ready */
if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE))
{
/* Check if a response to the last message is ready */
@@
-172,10
+172,10
@@
void RNDIS_Task(void)
/* Check if a message response is ready for the host */
if (Endpoint_IsINReady() && ResponseReady)
{
/* Check if a message response is ready for the host */
if (Endpoint_IsINReady() && ResponseReady)
{
- USB_
Notification_t Notification = (USB_Notification
_t)
+ USB_
Request_Header_t Notification = (USB_Request_Header
_t)
{
.bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE),
{
.bmRequestType = (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE),
- .b
Notification = NOTIF_RESPONSE_AVAILABLE
,
+ .b
Request = RNDIS_NOTIF_ResponseAvailable
,
.wValue = 0,
.wIndex = 0,
.wLength = 0,
.wValue = 0,
.wIndex = 0,
.wLength = 0,