We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1730143 commit 030f97bCopy full SHA for 030f97b
src/setup.rs
@@ -12,8 +12,7 @@ use stm32f4xx_hal::{
12
gpiob::{PB11, PB12, PB13},
13
gpioc::{PC4, PC5},
14
gpiog::{PG11, PG13, PG14},
15
- Input,
16
- Speed::VeryHigh,
+ Input, Speed,
17
},
18
pac::{RCC, SYSCFG},
19
};
@@ -27,8 +26,7 @@ use stm32f7xx_hal::{
27
26
28
29
30
31
32
33
34
@@ -227,7 +225,7 @@ macro_rules! impl_pins {
227
225
228
226
impl AlternateVeryHighSpeed for $pin {
229
fn into_af11_very_high_speed(self) {
230
- self.into_alternate::<11>().set_speed(VeryHigh);
+ self.into_alternate::<11>().set_speed(Speed::Medium);
231
}
232
233
)+
0 commit comments