Skip to content

Commit f0bd024

Browse files
committed
Expose capture, pwm and qei modules only for consistency
1 parent 44c5398 commit f0bd024

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/capture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ use nb;
3838
/// # impl U32Ext for u32 { fn ms(self) -> MilliSeconds { MilliSeconds(self) } }
3939
/// # struct Capture1;
4040
/// # enum Channel { _1 }
41-
/// # impl hal::Capture for Capture1 {
41+
/// # impl hal::capture::Capture for Capture1 {
4242
/// # type Error = Infallible;
4343
/// # type Capture = u16;
4444
/// # type Channel = Channel;

src/pwm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/// # impl U32Ext for u32 { fn khz(self) -> KiloHertz { KiloHertz(self) } }
3535
/// # enum Channel { _1, _2 }
3636
/// # struct Pwm1;
37-
/// # impl hal::Pwm for Pwm1 {
37+
/// # impl hal::pwm::Pwm for Pwm1 {
3838
/// # type Error = Infallible;
3939
/// # type Channel = Channel;
4040
/// # type Time = KiloHertz;

src/qei.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
/// # trait U32Ext { fn s(self) -> Seconds; }
3939
/// # impl U32Ext for u32 { fn s(self) -> Seconds { Seconds(self) } }
4040
/// # struct Qei1;
41-
/// # impl hal::Qei for Qei1 {
41+
/// # impl hal::qei::Qei for Qei1 {
4242
/// # type Error = Infallible;
4343
/// # type Count = u16;
4444
/// # fn try_count(&self) -> Result<u16, Self::Error> { Ok(0) }
45-
/// # fn try_direction(&self) -> Result<::hal::Direction, Self::Error> { unimplemented!() }
45+
/// # fn try_direction(&self) -> Result<::hal::qei::Direction, Self::Error> { unimplemented!() }
4646
/// # }
4747
/// # struct Timer6;
4848
/// # impl hal::timer::CountDown for Timer6 {

0 commit comments

Comments
 (0)