diff options
Diffstat (limited to 'platforms/chibios/drivers/i2c_master.h')
| -rw-r--r-- | platforms/chibios/drivers/i2c_master.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/chibios/drivers/i2c_master.h b/platforms/chibios/drivers/i2c_master.h index 303aa6990..ce32fd245 100644 --- a/platforms/chibios/drivers/i2c_master.h +++ b/platforms/chibios/drivers/i2c_master.h | |||
| @@ -70,10 +70,10 @@ | |||
| 70 | 70 | ||
| 71 | #ifdef USE_GPIOV1 | 71 | #ifdef USE_GPIOV1 |
| 72 | # ifndef I2C1_SCL_PAL_MODE | 72 | # ifndef I2C1_SCL_PAL_MODE |
| 73 | # define I2C1_SCL_PAL_MODE PAL_MODE_STM32_ALTERNATE_OPENDRAIN | 73 | # define I2C1_SCL_PAL_MODE PAL_MODE_ALTERNATE_OPENDRAIN |
| 74 | # endif | 74 | # endif |
| 75 | # ifndef I2C1_SDA_PAL_MODE | 75 | # ifndef I2C1_SDA_PAL_MODE |
| 76 | # define I2C1_SDA_PAL_MODE PAL_MODE_STM32_ALTERNATE_OPENDRAIN | 76 | # define I2C1_SDA_PAL_MODE PAL_MODE_ALTERNATE_OPENDRAIN |
| 77 | # endif | 77 | # endif |
| 78 | #else | 78 | #else |
| 79 | // The default PAL alternate modes are used to signal that the pins are used for I2C | 79 | // The default PAL alternate modes are used to signal that the pins are used for I2C |
