mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
3948736c41
commit
939b990a9c
@@ -1516,7 +1516,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUGASSERT(false);
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1578,7 +1578,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DEBUGASSERT(false);
|
DEBUGPANIC();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set the destination addr mode inside the frame control field */
|
/* Set the destination addr mode inside the frame control field */
|
||||||
|
|||||||
Reference in New Issue
Block a user