From a7c358811106d24a94869f979c5ae5d8a3a31c98 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Sat, 13 Mar 2021 17:30:27 -0800 Subject: [PATCH] [nrf528xx] fix unused param warning in nrf_802154_tx_started() (#6281) --- examples/platforms/nrf528xx/src/radio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/platforms/nrf528xx/src/radio.c b/examples/platforms/nrf528xx/src/radio.c index c3c78ac71..9368f5685 100644 --- a/examples/platforms/nrf528xx/src/radio.c +++ b/examples/platforms/nrf528xx/src/radio.c @@ -1188,7 +1188,9 @@ int8_t otPlatRadioGetReceiveSensitivity(otInstance *aInstance) void nrf_802154_tx_started(const uint8_t *aFrame) { bool processSecurity = false; + assert(aFrame == sTransmitPsdu); + OT_UNUSED_VARIABLE(aFrame); #if OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE if (sCslPeriod > 0)