Browse Source

Merge pull request #60 from matoushybl/fix/i2c-030

Remove STM32F030 from devices that have I2C1 available on pins PA11 a…
trying.tmp
Daniel Egger 3 years ago committed by GitHub
parent
commit
0699aef12c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/i2c.rs

2
src/i2c.rs

@ -72,7 +72,7 @@ i2c_pins! {
sda => [gpioa::PA10<Alternate<AF4>>],
}
}
#[cfg(any(feature = "stm32f030", feature = "stm32f042", feature = "stm32f048"))]
#[cfg(any(feature = "stm32f042", feature = "stm32f048"))]
i2c_pins! {
I2C1 => {
scl => [gpioa::PA11<Alternate<AF5>>],

Loading…
Cancel
Save