From 939b990a9c4de4067a72471ab43b82e03326138d Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Wed, 13 Jul 2022 14:35:38 -0300 Subject: [PATCH] wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC() Signed-off-by: Gustavo Henrique Nihei --- wireless/ieee802154/mac802154.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wireless/ieee802154/mac802154.c b/wireless/ieee802154/mac802154.c index 6a1f31d156..5dc5920580 100644 --- a/wireless/ieee802154/mac802154.c +++ b/wireless/ieee802154/mac802154.c @@ -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 */