f407-discovery: fix mc33810 config
This commit is contained in:
parent
0084f35830
commit
6fbdbda034
|
@ -189,7 +189,9 @@ static const struct mc33810_config mc33810 = {
|
||||||
// meaning even if we do not use it we need a pin for now
|
// meaning even if we do not use it we need a pin for now
|
||||||
[7] = {.port = GPIOD, .pad = 1},
|
[7] = {.port = GPIOD, .pad = 1},
|
||||||
},
|
},
|
||||||
.en = {.port = GPIOA, .pad = 6} // copy-paste with setMode code!
|
.en = {.port = GPIOA, .pad = 6}, // copy-paste with setMode code!
|
||||||
|
// TODO: pick from engineConfiguration->spi3sckPin or whatever SPI is used
|
||||||
|
.sck = {.port = GPIOB, .pad = 3}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (engineConfiguration->engineType == engine_type_e::FRANKENSO_TEST_33810) {
|
if (engineConfiguration->engineType == engine_type_e::FRANKENSO_TEST_33810) {
|
||||||
|
|
Loading…
Reference in New Issue