projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7af4d94
)
Fix broken RNDIS device demos when NO_ETHERNET_DECODE was not defined.
author
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 18 May 2013 20:45:47 +0000
(22:45 +0200)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Sat, 18 May 2013 20:45:47 +0000
(22:45 +0200)
Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
patch
|
blob
|
blame
|
history
Demos/Device/ClassDriver/VirtualSerial/asf.xml
patch
|
blob
|
blame
|
history
Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
patch
|
blob
|
blame
|
history
diff --git
a/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
b/Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
index
1eda2e2
..
2a6a798
100644
(file)
--- a/
Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
+++ b/
Demos/Device/ClassDriver/RNDISEthernet/Lib/ProtocolDecoders.c
@@
-61,7
+61,6
@@
void DecodeEthernetFrameHeader(void* InDataStart)
printf_P(PSTR("\r\n"));
printf_P(PSTR(" ETHERNET\r\n"));
printf_P(PSTR("\r\n"));
printf_P(PSTR(" ETHERNET\r\n"));
- printf_P(PSTR(" + Frame Size: %u\r\n"), FrameINData->FrameLength);
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
diff --git
a/Demos/Device/ClassDriver/VirtualSerial/asf.xml
b/Demos/Device/ClassDriver/VirtualSerial/asf.xml
index
310321e
..
c719468
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerial/asf.xml
+++ b/
Demos/Device/ClassDriver/VirtualSerial/asf.xml
@@
-44,7
+44,6
@@
<require idref="lufa.drivers.usb"/>
\r
<require idref="lufa.drivers.board"/>
\r
<require idref="lufa.drivers.board.leds"/>
\r
<require idref="lufa.drivers.usb"/>
\r
<require idref="lufa.drivers.board"/>
\r
<require idref="lufa.drivers.board.leds"/>
\r
- <require idref="lufa.drivers.board.buttons"/>
\r
<require idref="lufa.drivers.board.joystick"/>
\r
</module>
\r
</asf>
\r
<require idref="lufa.drivers.board.joystick"/>
\r
</module>
\r
</asf>
\r
diff --git
a/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
b/Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
index
8c864ba
..
dcdd9b2
100644
(file)
--- a/
Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
+++ b/
Demos/Device/LowLevel/RNDISEthernet/Lib/ProtocolDecoders.c
@@
-61,7
+61,6
@@
void DecodeEthernetFrameHeader(void* InDataStart)
printf_P(PSTR("\r\n"));
printf_P(PSTR(" ETHERNET\r\n"));
printf_P(PSTR("\r\n"));
printf_P(PSTR(" ETHERNET\r\n"));
- printf_P(PSTR(" + Frame Size: %u\r\n"), FrameIN.FrameLength);
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))