Skip to content

Commit

Permalink
Merge pull request #3410 from Sh3Rm4n/fix/i2c-pull
Browse files Browse the repository at this point in the history
stm32/i2c: disable pullup instead of pulling down
  • Loading branch information
Dirbaio authored Oct 10, 2024
2 parents 456c226 + 3870411 commit e7dfc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions embassy-stm32/src/i2c/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Config {
Speed::Medium,
match self.scl_pullup {
true => Pull::Up,
false => Pull::Down,
false => Pull::None,
},
);
}
Expand All @@ -102,7 +102,7 @@ impl Config {
Speed::Medium,
match self.sda_pullup {
true => Pull::Up,
false => Pull::Down,
false => Pull::None,
},
);
}
Expand Down

0 comments on commit e7dfc2b

Please sign in to comment.