Fix SKR Pro / GTR i2c pins
Fixes #17297 Co-Authored-By: NAPCAL <napcal@users.noreply.github.com>
This commit is contained in:
parent
5507b6073c
commit
5d1498f2cb
@ -245,8 +245,13 @@ extern "C" {
|
|||||||
#define PIN_SPI_SS PB12
|
#define PIN_SPI_SS PB12
|
||||||
|
|
||||||
// I2C Definitions
|
// I2C Definitions
|
||||||
#define PIN_WIRE_SDA PB7
|
#if STM32F4X_PIN_NUM >= 176
|
||||||
#define PIN_WIRE_SCL PB6
|
#define PIN_WIRE_SDA PH5
|
||||||
|
#define PIN_WIRE_SCL PH4
|
||||||
|
#else
|
||||||
|
#define PIN_WIRE_SDA PB7
|
||||||
|
#define PIN_WIRE_SCL PB6
|
||||||
|
#endif
|
||||||
|
|
||||||
// Timer Definitions
|
// Timer Definitions
|
||||||
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
|
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
|
||||||
|
Loading…
Reference in New Issue
Block a user