diff --git a/hal/src/thumbv7em/clock/v2/osculp32k.rs b/hal/src/thumbv7em/clock/v2/osculp32k.rs index af03294ae16c..c091b063872c 100644 --- a/hal/src/thumbv7em/clock/v2/osculp32k.rs +++ b/hal/src/thumbv7em/clock/v2/osculp32k.rs @@ -209,25 +209,6 @@ where } } -impl Enabled, N> -where - X: Output32k, - Y: Output1k, - N: Counter + PrivateIncrement, -{ - /// Write lock the OscUlp32k - /// - /// Locked until a Power-On Reset (POR) is detected. - /// - /// TODO, how should we model the hardware write lock? - /// For now artificially raise the use counter by 1 - #[inline] - pub fn write_lock(mut self) -> ::Inc { - self.0.token.wrtlock(); - self.inc() - } -} - //============================================================================== // GclkSource //============================================================================== diff --git a/hal/src/thumbv7em/clock/v2/xosc32k.rs b/hal/src/thumbv7em/clock/v2/xosc32k.rs index 0bad46e075fa..a515b2854147 100644 --- a/hal/src/thumbv7em/clock/v2/xosc32k.rs +++ b/hal/src/thumbv7em/clock/v2/xosc32k.rs @@ -418,26 +418,6 @@ where } } -impl Enabled, N> -where - M: Mode, - X: Output32k, - Y: Output1k, - N: Counter + PrivateIncrement, -{ - /// Write lock the Xosc32k - /// - /// Locked until a Power-On Reset (POR) is detected. - /// - /// TODO, how should we model the hardware write lock? - /// For now artificially raise the use counter by 1 - #[inline] - pub fn write_lock(mut self) -> ::Inc { - self.0.token.wrtlock(); - self.inc() - } -} - impl Enabled, U0> where M: Mode,