mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
stm32_eth: Fix in assertion parameters.
This commit is contained in:
committed by
Xiang Xiao
parent
d5fe952b17
commit
60933f5a94
@@ -1134,7 +1134,7 @@ static int stm32_transmit(struct stm32_ethmac_s *priv)
|
||||
|
||||
/* Set frame size */
|
||||
|
||||
DEBUGASSERT(priv->dev.d_len <= CONFIG_NET_ETH_PKTSIZE);
|
||||
DEBUGASSERT(priv->dev.d_len <= CONFIG_STM32_ETH_BUFSIZE);
|
||||
txdesc->tdes1 = priv->dev.d_len;
|
||||
|
||||
/* Set the Buffer1 address pointer */
|
||||
|
||||
Reference in New Issue
Block a user