Skip to content

Commit

Permalink
esp-hal: rmt: make ChannelCreator public
Browse files Browse the repository at this point in the history
  • Loading branch information
liebman committed May 26, 2024
1 parent 3b9a493 commit 386b357
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions esp-hal/src/rmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ pub struct RxChannelConfig {
}

pub use impl_for_chip::Rmt;
pub use impl_for_chip::ChannelCreator;

#[cfg(feature = "async")]
use self::asynch::{RxChannelAsync, TxChannelAsync};
Expand Down Expand Up @@ -949,6 +950,8 @@ mod impl_for_chip {
}
}

/// RMT Channel Creator
#[allow(missing_docs)]
pub struct ChannelCreator<M, const CHANNEL: u8>
where
M: crate::Mode,
Expand Down

0 comments on commit 386b357

Please sign in to comment.