Skip to content

Commit

Permalink
[nrf fromtree] drivers: nrfx: Avoid unhandled event calling assert fu…
Browse files Browse the repository at this point in the history
…nction

Avoid unhandled event calling assert function

Signed-off-by: Matthias Hauser <[email protected]>
(cherry picked from commit 543864321cbdf5a60ed7e76976f52e28147c75e5)
  • Loading branch information
mah-eiSmart authored and nika-nordic committed Feb 3, 2025
1 parent 9a73bbb commit 1a719cc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/clock_control/clock_control_nrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
__ASSERT_NO_MSG(false);
}
break;
case NRFX_CLOCK_EVT_PLL_STARTED:
{
/* unhandled event */
break;
}
default:
__ASSERT_NO_MSG(0);
break;
Expand Down

0 comments on commit 1a719cc

Please sign in to comment.