diff --git a/src/hardware/timers.rs b/src/hardware/timers.rs index da11cf3..e2cbbc8 100644 --- a/src/hardware/timers.rs +++ b/src/hardware/timers.rs @@ -235,8 +235,6 @@ macro_rules! timer_channels { pub struct [< Channel $index InputCapture>] {} impl [< Channel $index >] { - - /// Construct a new timer channel. /// /// Note(unsafe): This function must only be called once. Once constructed, the @@ -277,7 +275,6 @@ macro_rules! timer_channels { regs.[< $ccmrx _input >]().modify(|_, w| w.[< cc $index s>]().variant(input)); - [< Channel $index InputCapture >] {} } }