diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-07 04:19:57 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-04-07 04:19:57 +0000 |
commit | cb7884da506096352ad82a1317b998813b74f4f8 (patch) | |
tree | 0ae404bad74a807ee2d3122f0410f414f38c5df9 /Demos/Device/RNDISEthernet | |
parent | 557a945ba1851bc8d1669bd034464047f50b6691 (diff) | |
download | lufa-cb7884da506096352ad82a1317b998813b74f4f8.tar.gz lufa-cb7884da506096352ad82a1317b998813b74f4f8.tar.bz2 lufa-cb7884da506096352ad82a1317b998813b74f4f8.zip |
Added preprocessor checks and documentation to the bootloaders giving information about missing SIGNATURE_x defines due to outdated avr-libc versions.
Diffstat (limited to 'Demos/Device/RNDISEthernet')
-rw-r--r-- | Demos/Device/RNDISEthernet/RNDIS.h | 4 | ||||
-rw-r--r-- | Demos/Device/RNDISEthernet/RNDISEthernet.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Demos/Device/RNDISEthernet/RNDIS.h b/Demos/Device/RNDISEthernet/RNDIS.h index 0d240ac4e..88c9a9eb9 100644 --- a/Demos/Device/RNDISEthernet/RNDIS.h +++ b/Demos/Device/RNDISEthernet/RNDIS.h @@ -55,10 +55,10 @@ #define REMOTE_NDIS_VERSION_MINOR 0x00
/** RNDIS request to issue a host-to-device NDIS command */
- #define SEND_ENCAPSULATED_COMMAND 0x00
+ #define REQ_SendEncapsulatedCommand 0x00
/** RNDIS request to issue a device-to-host NDIS response */
- #define GET_ENCAPSULATED_RESPONSE 0x01
+ #define REQ_GetEncapsulatedResponse 0x01
/* Enums: */
/** Enum for the possible NDIS adapter states. */
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 */
|