Skip to content

Commit ae94cdf

Browse files
mah-eiSmartrlubos
authored andcommitted
[nrf fromtree] drivers: nrfx: Avoid unhandled event calling assert function
Avoid unhandled event calling assert function Signed-off-by: Matthias Hauser <[email protected]> (cherry picked from commit 5438643)
1 parent 88ce8e0 commit ae94cdf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/clock_control/clock_control_nrf.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
637637
__ASSERT_NO_MSG(false);
638638
}
639639
break;
640+
case NRFX_CLOCK_EVT_PLL_STARTED:
641+
{
642+
/* unhandled event */
643+
break;
644+
}
640645
default:
641646
__ASSERT_NO_MSG(0);
642647
break;

0 commit comments

Comments
 (0)