You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/07/14 04:08:54 UTC
[incubator-nuttx] 05/08: wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 939b990a9c4de4067a72471ab43b82e03326138d
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Wed Jul 13 14:35:38 2022 -0300
wireless: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
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 */