Skip to content

Commit

Permalink
fix(scu): blocking function from xmc4500
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbrendel committed Dec 27, 2023
1 parent d11f76e commit 225806c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() };

Expand Down

0 comments on commit 225806c

Please sign in to comment.