From cb7884da506096352ad82a1317b998813b74f4f8 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 7 Apr 2009 04:19:57 +0000 Subject: Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to outdated avr-libc versions. --- Demos/Device/RNDISEthernet/RNDISEthernet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Demos/Device/RNDISEthernet/RNDISEthernet.c') diff --git a/Demos/Device/RNDISEthernet/RNDISEthernet.c b/Demos/Device/RNDISEthernet/RNDISEthernet.c index 98863a113..78c77c8eb 100644 --- a/Demos/Device/RNDISEthernet/RNDISEthernet.c +++ b/Demos/Device/RNDISEthernet/RNDISEthernet.c @@ -158,7 +158,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket) /* Process RNDIS class commands */ switch (bRequest) { - case SEND_ENCAPSULATED_COMMAND: + case REQ_SendEncapsulatedCommand: if (bmRequestType == (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE)) { /* Clear the SETUP packet, ready for data transfer */ @@ -175,7 +175,7 @@ EVENT_HANDLER(USB_UnhandledControlPacket) } break; - case GET_ENCAPSULATED_RESPONSE: + case REQ_GetEncapsulatedResponse: if (bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_CLASS | REQREC_INTERFACE)) { /* Check if a response to the last message is ready */ -- cgit v1.2.3