Skip to content

Commit 6558548

Browse files
committed
ChannelX
1 parent f2a2f26 commit 6558548

File tree

2 files changed

+279
-279
lines changed

2 files changed

+279
-279
lines changed

src/dma/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -682,19 +682,19 @@ impl<const C: u8> Channel for ChannelX<C> {
682682
Self
683683
}
684684
}
685-
type Channel0 = ChannelX<0>;
686-
type Channel1 = ChannelX<1>;
687-
type Channel2 = ChannelX<2>;
688-
type Channel3 = ChannelX<3>;
689-
type Channel4 = ChannelX<4>;
690-
type Channel5 = ChannelX<5>;
691-
type Channel6 = ChannelX<6>;
692-
type Channel7 = ChannelX<7>;
685+
pub type Channel0 = ChannelX<0>;
686+
pub type Channel1 = ChannelX<1>;
687+
pub type Channel2 = ChannelX<2>;
688+
pub type Channel3 = ChannelX<3>;
689+
pub type Channel4 = ChannelX<4>;
690+
pub type Channel5 = ChannelX<5>;
691+
pub type Channel6 = ChannelX<6>;
692+
pub type Channel7 = ChannelX<7>;
693693

694694
#[cfg(any(feature = "stm32f413", feature = "stm32f423"))]
695-
type Channel8 = ChannelX<8>;
695+
pub type Channel8 = ChannelX<8>;
696696
#[cfg(any(feature = "stm32f413", feature = "stm32f423"))]
697-
type Channel9 = ChannelX<9>;
697+
pub type Channel9 = ChannelX<9>;
698698

699699
/// Contains types related to DMA configuration.
700700
pub mod config {

0 commit comments

Comments
 (0)