Skip to content

Commit 48b28a8

Browse files
committed
[nrf fromlist] drivers: clock_control: nrf: ifdef PLL started event
This event is defined only for devices that have PLL in the CLOCK peripheral. Upstream PR #: 86238 Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent 8dbbf69 commit 48b28a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clock_control/clock_control_nrf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,9 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
637637
__ASSERT_NO_MSG(false);
638638
}
639639
break;
640+
#if NRF_CLOCK_HAS_PLL
640641
case NRFX_CLOCK_EVT_PLL_STARTED:
642+
#endif
641643
#if NRF_CLOCK_HAS_XO_TUNE
642644
case NRFX_CLOCK_EVT_XO_TUNED:
643645
case NRFX_CLOCK_EVT_XO_TUNE_ERROR:

0 commit comments

Comments
 (0)