forked from mfulz_github/qmk_firmware
Fix broken RNDIS device demos when NO_ETHERNET_DECODE was not defined.
This commit is contained in:
parent
7af4d949e2
commit
3a06ef99e6
|
@ -61,7 +61,6 @@ void DecodeEthernetFrameHeader(void* InDataStart)
|
||||||
printf_P(PSTR("\r\n"));
|
printf_P(PSTR("\r\n"));
|
||||||
|
|
||||||
printf_P(PSTR(" ETHERNET\r\n"));
|
printf_P(PSTR(" ETHERNET\r\n"));
|
||||||
printf_P(PSTR(" + Frame Size: %u\r\n"), FrameINData->FrameLength);
|
|
||||||
|
|
||||||
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
|
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
|
||||||
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
|
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
<require idref="lufa.drivers.usb"/>
|
<require idref="lufa.drivers.usb"/>
|
||||||
<require idref="lufa.drivers.board"/>
|
<require idref="lufa.drivers.board"/>
|
||||||
<require idref="lufa.drivers.board.leds"/>
|
<require idref="lufa.drivers.board.leds"/>
|
||||||
<require idref="lufa.drivers.board.buttons"/>
|
|
||||||
<require idref="lufa.drivers.board.joystick"/>
|
<require idref="lufa.drivers.board.joystick"/>
|
||||||
</module>
|
</module>
|
||||||
</asf>
|
</asf>
|
||||||
|
|
|
@ -61,7 +61,6 @@ void DecodeEthernetFrameHeader(void* InDataStart)
|
||||||
printf_P(PSTR("\r\n"));
|
printf_P(PSTR("\r\n"));
|
||||||
|
|
||||||
printf_P(PSTR(" ETHERNET\r\n"));
|
printf_P(PSTR(" ETHERNET\r\n"));
|
||||||
printf_P(PSTR(" + Frame Size: %u\r\n"), FrameIN.FrameLength);
|
|
||||||
|
|
||||||
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
|
if (!(MAC_COMPARE(&FrameHeader->Destination, &ServerMACAddress)) &&
|
||||||
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
|
!(MAC_COMPARE(&FrameHeader->Destination, &BroadcastMACAddress)))
|
||||||
|
|
Loading…
Reference in New Issue