From 225806cb6a6d4ed9cd17546d1dda0bfc8a735fff Mon Sep 17 00:00:00 2001 From: Lucas Brendel Date: Tue, 26 Dec 2023 23:11:33 -0600 Subject: [PATCH] fix(scu): blocking function from xmc4500 --- src/scu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scu.rs b/src/scu.rs index 831c48f3..0e597388 100644 --- a/src/scu.rs +++ b/src/scu.rs @@ -720,6 +720,7 @@ impl Scu { } } + #[cfg(not(feature = "xmc4500"))] pub fn is_peripheral_clock_gated(&self, clock: PeripheralClock) -> bool { let scu = unsafe { &*SCU_CLK::ptr() };