wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2022-07-13 14:35:38 -03:00 committed by Xiang Xiao
parent 3948736c41
commit 939b990a9c

View File

@ -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 */