Skip to content

Commit

Permalink
cp5
Browse files Browse the repository at this point in the history
  • Loading branch information
lmnotran committed Jan 19, 2024
1 parent 5238318 commit 10ed6f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/src/radio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3019,11 +3019,13 @@ static bool validatePacketDetails(RAIL_RxPacketHandle_t packetHandle,
uint16_t *packetLength)
{
bool pktValid = true;
otEXPECT_ACTION((RAIL_GetRxPacketDetailsAlt(gRailHandle, packetHandle, pPacketDetails) == RAIL_STATUS_NO_ERROR),
pktValid = false);
RAIL_Status_t rStatus;
#if RADIO_CONFIG_DEBUG_COUNTERS_SUPPORT
rxDebugStep = 0;
#endif

rStatus = RAIL_GetRxPacketDetailsAlt(gRailHandle, packetHandle, pPacketDetails);
otEXPECT_ACTION(rStatus == RAIL_STATUS_NO_ERROR, pktValid = false);
#if RADIO_CONFIG_DEBUG_COUNTERS_SUPPORT
rxDebugStep++;
#endif
Expand Down

0 comments on commit 10ed6f2

Please sign in to comment.