arch: imx6: Fix a compile error with CONFIG_DEBUG_ASSERTIONS=y
Summary: - This commit fixes a compile error in imx_enet.c with CONFIG_DEBUG_ASSERTIONS=y Impact: - None Testing: - Tested with sabre-6quad:netnsh with QEMU Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
96cbd1d8a1
commit
5bcdeb0851
1 changed files with 1 additions and 1 deletions
|
|
@ -546,7 +546,7 @@ static int imx_transmit(FAR struct imx_driver_s *priv)
|
|||
(uintptr_t)txdesc + sizeof(struct enet_desc_s));
|
||||
|
||||
#if CONFIG_IMX_ENET_NTXBUFFERS > 1
|
||||
DEBUGASSERT(priv->txtail != priv->txhead)
|
||||
DEBUGASSERT(priv->txtail != priv->txhead);
|
||||
#endif
|
||||
DEBUGASSERT((txdesc->status1 & TXDESC_R) == 0);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue