stm32_eth: Fix in assertion parameters.

This commit is contained in:
Fotis Panagiotopoulos 2022-11-06 19:23:45 +02:00 committed by Xiang Xiao
parent d5fe952b17
commit 60933f5a94

View File

@ -1134,7 +1134,7 @@ static int stm32_transmit(struct stm32_ethmac_s *priv)
/* Set frame size */ /* 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; txdesc->tdes1 = priv->dev.d_len;
/* Set the Buffer1 address pointer */ /* Set the Buffer1 address pointer */