f407-discovery: fix mc33810 config

This commit is contained in:
Andrey Gusakov 2024-07-22 23:46:28 +03:00 committed by rusefillc
parent 0084f35830
commit 6fbdbda034
1 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,9 @@ static const struct mc33810_config mc33810 = {
// meaning even if we do not use it we need a pin for now
[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) {