wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
3948736c41
commit
939b990a9c
@ -1516,7 +1516,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
||||
}
|
||||
else
|
||||
{
|
||||
DEBUGASSERT(false);
|
||||
DEBUGPANIC();
|
||||
}
|
||||
}
|
||||
|
||||
@ -1578,7 +1578,7 @@ static void mac802154_rxdatareq(FAR struct ieee802154_privmac_s *priv,
|
||||
}
|
||||
else
|
||||
{
|
||||
DEBUGASSERT(false);
|
||||
DEBUGPANIC();
|
||||
}
|
||||
|
||||
/* Set the destination addr mode inside the frame control field */
|
||||
|
Loading…
Reference in New Issue
Block a user