diff --git a/wireless/ieee802154/mac802154.c b/wireless/ieee802154/mac802154.c index 6a1f31d1562..5dc59205805 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 */