Skip to content

Commit 35c8150

Browse files
committed
Update allocation size for TM4C interface
1 parent aa1250b commit 35c8150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/portable/NetworkInterface/TM4C/NetworkInterface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
#include "NetworkInterface.h"
5858
#include "phyHandling.h"
5959

60-
#define BUFFER_SIZE_WO_PADDING ( ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER )
60+
#define BUFFER_SIZE_WO_PADDING ( ipTOTAL_ETHERNET_FRAME_SIZE )
6161
#define BUFFER_SIZE ( BUFFER_SIZE_WO_PADDING + ipBUFFER_PADDING )
6262
#define BUFFER_SIZE_ROUNDED_UP ( ( BUFFER_SIZE + 7 ) & ~0x7UL )
6363
#define PHY_PHYS_ADDR 0

0 commit comments

Comments
 (0)