diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-24 06:21:46 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-24 06:21:46 +0000 |
commit | a7aaa45ec4c3f415bf6073a5cc016635d5ecf77d (patch) | |
tree | 19b5e669eb96b428a7d8e002c6dc9af88dbd950d /LUFA/Drivers/USB/Class | |
parent | 3702ba1fb31f265360a0e4cf1736465e44389103 (diff) | |
download | lufa-a7aaa45ec4c3f415bf6073a5cc016635d5ecf77d.tar.gz lufa-a7aaa45ec4c3f415bf6073a5cc016635d5ecf77d.tar.bz2 lufa-a7aaa45ec4c3f415bf6073a5cc016635d5ecf77d.zip |
More AVR32 achitecture ports.
Diffstat (limited to 'LUFA/Drivers/USB/Class')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/RNDIS.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/RNDIS.c b/LUFA/Drivers/USB/Class/Device/RNDIS.c index 1961e7e84..197fe6b18 100644 --- a/LUFA/Drivers/USB/Class/Device/RNDIS.c +++ b/LUFA/Drivers/USB/Class/Device/RNDIS.c @@ -345,7 +345,11 @@ static bool RNDIS_Device_ProcessNDISQuery(USB_ClassInfo_RNDIS_Device_t* const RN case OID_GEN_SUPPORTED_LIST:
*ResponseSize = sizeof(AdapterSupportedOIDList);
- memcpy_P(ResponseData, AdapterSupportedOIDList, sizeof(AdapterSupportedOIDList));
+ #if defined(__AVR32__)
+ memcpy(ResponseData, AdapterSupportedOIDList, sizeof(AdapterSupportedOIDList));
+ #elif defined(__AVR__)
+ memcpy_P(ResponseData, AdapterSupportedOIDList, sizeof(AdapterSupportedOIDList));
+ #endif
return true;
case OID_GEN_PHYSICAL_MEDIUM:
|