Merge pull request #3410 from Sh3Rm4n/fix/i2c-pull

stm32/i2c: disable pullup instead of pulling down
This commit is contained in:
Dario Nieuwenhuis 2024-10-10 19:27:33 +00:00 committed by GitHub
commit e7dfc2bc0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ impl Config {
Speed::Medium, Speed::Medium,
match self.scl_pullup { match self.scl_pullup {
true => Pull::Up, true => Pull::Up,
false => Pull::Down, false => Pull::None,
}, },
); );
} }
@ -102,7 +102,7 @@ impl Config {
Speed::Medium, Speed::Medium,
match self.sda_pullup { match self.sda_pullup {
true => Pull::Up, true => Pull::Up,
false => Pull::Down, false => Pull::None,
}, },
); );
} }