mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Fix naming
This commit is contained in:
parent
bfc5929f50
commit
32a75cb764
@ -108,7 +108,7 @@ macro_rules! new_pin {
|
||||
pin.set_as_af_pull(pin.af_num(), $aftype, $pull);
|
||||
// Do not call set_speed on AFType::Input, as MODE and CNF bits are not independent
|
||||
// for gpio_v1
|
||||
if $aftype != crate::gpio::low_level::AFType::Input {
|
||||
if $aftype != crate::gpio::AFType::Input {
|
||||
pin.set_speed($speed);
|
||||
}
|
||||
Some(pin.map_into())
|
||||
|
Loading…
Reference in New Issue
Block a user