[fix][-Wshift-op-parentheses]

This commit is contained in:
2024-09-05 16:01:11 +08:00
parent 435ddf8578
commit 6c4dd1c6ec

View File

@ -306,7 +306,7 @@
// start with recbuf at 0/
#define RXSTART_INIT 0x0
// receive buffer end
#define RXSTOP_INIT (0x1FFF - MAX_TX_PACKAGE_SIZE*2) - 1
#define RXSTOP_INIT ((0x1FFF - MAX_TX_PACKAGE_SIZE * 2) - 1)
// start TX buffer at 0x1FFF-0x0600, pace for one full ethernet frame (~1500 bytes)
#define TXSTART_INIT (0x1FFF - MAX_TX_PACKAGE_SIZE * 2)