projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade doxygen configuration files to the latest version.
[pub/lufa.git]
/
Projects
/
Webserver
/
Lib
/
uIPManagement.c
diff --git
a/Projects/Webserver/Lib/uIPManagement.c
b/Projects/Webserver/Lib/uIPManagement.c
index
c5dd129
..
dd6182a
100644
(file)
--- a/
Projects/Webserver/Lib/uIPManagement.c
+++ b/
Projects/Webserver/Lib/uIPManagement.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 20
12
.
+ Copyright (C) Dean Camera, 20
21
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 20
12
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 20
21
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
@@
-174,7
+174,7
@@
static void uIPManagement_ProcessIncomingPacket(void)
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
/* Read the Incoming packet straight into the UIP packet buffer */
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
/* Read the Incoming packet straight into the UIP packet buffer */
- RNDIS_Device_ReadPacket(&Ethernet_RNDIS_Interface_Device, uip_buf, &uip_len);
+ RNDIS_Device_ReadPacket(&Ethernet_RNDIS_Interface_Device, uip_buf,
UIP_BUFSIZE,
&uip_len);
}
else
{
}
else
{
@@
-185,11
+185,10
@@
static void uIPManagement_ProcessIncomingPacket(void)
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
/* Read the Incoming packet straight into the UIP packet buffer */
LEDs_SetAllLEDs(LEDMASK_USB_BUSY);
/* Read the Incoming packet straight into the UIP packet buffer */
- RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface_Host, uip_buf, &uip_len);
+ RNDIS_Host_ReadPacket(&Ethernet_RNDIS_Interface_Host, uip_buf,
UIP_BUFSIZE,
&uip_len);
}
/* If the packet contains an Ethernet frame, process it */
}
/* If the packet contains an Ethernet frame, process it */
- // cppcheck-suppress redundantOperationIn
if (uip_len > 0)
{
switch (((struct uip_eth_hdr*)uip_buf)->type)
if (uip_len > 0)
{
switch (((struct uip_eth_hdr*)uip_buf)->type)