We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bd20f9 commit c9ddb5eCopy full SHA for c9ddb5e
source/portable/NetworkInterface/TM4C/NetworkInterface.c
@@ -57,7 +57,7 @@
57
#include "NetworkInterface.h"
58
#include "phyHandling.h"
59
60
-#define BUFFER_SIZE_WO_PADDING ( ipconfigNETWORK_MTU + ipSIZE_OF_ETH_HEADER )
+#define BUFFER_SIZE_WO_PADDING ( ipTOTAL_ETHERNET_FRAME_SIZE )
61
#define BUFFER_SIZE ( BUFFER_SIZE_WO_PADDING + ipBUFFER_PADDING )
62
#define BUFFER_SIZE_ROUNDED_UP ( ( BUFFER_SIZE + 7 ) & ~0x7UL )
63
#define PHY_PHYS_ADDR 0
0 commit comments