Commit 54386432 authored by Matthias Hauser's avatar Matthias Hauser Committed by Benjamin Cabé
Browse files

drivers: nrfx: Avoid unhandled event calling assert function

Avoid unhandled event calling assert function

Signed-off-by: default avatarMatthias Hauser <matthias.hauser@we-online.de>
parent 3a07f6d7
Loading
Loading
Loading
Loading
+5 −0
Changes for drivers/clock_control/clock_control_nrf.c: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;