mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Merge pull request #3410 from Sh3Rm4n/fix/i2c-pull
stm32/i2c: disable pullup instead of pulling down
This commit is contained in:
commit
e7dfc2bc0a
@ -88,7 +88,7 @@ impl Config {
|
||||
Speed::Medium,
|
||||
match self.scl_pullup {
|
||||
true => Pull::Up,
|
||||
false => Pull::Down,
|
||||
false => Pull::None,
|
||||
},
|
||||
);
|
||||
}
|
||||
@ -102,7 +102,7 @@ impl Config {
|
||||
Speed::Medium,
|
||||
match self.sda_pullup {
|
||||
true => Pull::Up,
|
||||
false => Pull::Down,
|
||||
false => Pull::None,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user