Skip to content

Commit 4d8ea24

Browse files
committed
Fix serial module broken during merging
1 parent d3dfa2e commit 4d8ea24

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

src/serial.rs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,6 @@ use crate::{
1010
use cfg_if::cfg_if;
1111
use core::{convert::Infallible, marker::PhantomData, ptr};
1212

13-
#[cfg(any(
14-
feature = "stm32f302",
15-
feature = "stm32f303xb",
16-
feature = "stm32f303xc",
17-
feature = "stm32f303xd",
18-
feature = "stm32f303xe",
19-
feature = "stm32f373",
20-
feature = "stm32f378",
21-
feature = "stm32f334",
22-
feature = "stm32f328",
23-
feature = "stm32f358",
24-
feature = "stm32f398"
25-
))]
26-
use crate::gpio::gpiod;
27-
#[cfg(any(
28-
feature = "stm32f302",
29-
feature = "stm32f303xb",
30-
feature = "stm32f303xc",
31-
feature = "stm32f303xd",
32-
feature = "stm32f303xe",
33-
feature = "stm32f373",
34-
feature = "stm32f378",
35-
feature = "stm32f328",
36-
feature = "stm32f358",
37-
feature = "stm32f398"
38-
))]
39-
use crate::gpio::gpioe;
40-
4113
cfg_if! {
4214
if #[cfg(any(feature = "stm32f302", feature = "stm32f303"))] {
4315
use crate::dma;

0 commit comments

Comments
 (0)