projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update UC3 platform driver support to use the bitmasks defined in the header files...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
RNDISEthernet
/
Lib
/
RNDIS.c
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
index
5205570
..
a56b347
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
+++ b/
Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
1
.
dean [at] fourwalledcubicle [dot] com
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-89,7
+89,7
@@
RNDIS_Message_Header_t* MessageHeader = (RNDIS_Message_Header_t*)&RNDISMessageBu
/** Indicates if a RNDIS message response is ready to be sent back to the host. */
bool ResponseReady = false;
/** Indicates if a RNDIS message response is ready to be sent back to the host. */
bool ResponseReady = false;
-/** Current RNDIS adapter state, a value from the RNDIS_States_t enum. */
+/** Current RNDIS adapter state, a value from the
\c
RNDIS_States_t enum. */
uint8_t CurrRNDISState = RNDIS_Uninitialized;
/** Current Ethernet packet filter mask. This is non-zero when the adapter is initialized, or zero when disabled. */
uint8_t CurrRNDISState = RNDIS_Uninitialized;
/** Current Ethernet packet filter mask. This is non-zero when the adapter is initialized, or zero when disabled. */
@@
-264,7
+264,7
@@
static bool ProcessNDISQuery(const uint32_t OId, void* QueryData, uint16_t Query
*ResponseSize = sizeof(uint32_t);
/* Always indicate hardware ready */
*ResponseSize = sizeof(uint32_t);
/* Always indicate hardware ready */
- *((uint32_t*)ResponseData) = N
disHardwareStatus
Ready;
+ *((uint32_t*)ResponseData) = N
DIS_HardwareStatus_
Ready;
return true;
case OID_GEN_MEDIA_SUPPORTED:
return true;
case OID_GEN_MEDIA_SUPPORTED: