auto-sync
This commit is contained in:
parent
060ea0eb2e
commit
40470efcb0
|
@ -153,6 +153,10 @@ void setDodgeNeon1995EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
|
||||
engineConfiguration->algorithm = LM_ALPHA_N;
|
||||
|
||||
// engineConfiguration->spi2SckMode = PAL_STM32_OTYPE_OPENDRAIN; // 4
|
||||
// engineConfiguration->spi2MosiMode = PAL_STM32_OTYPE_OPENDRAIN; // 4
|
||||
// engineConfiguration->spi2MisoMode = PAL_STM32_PUDR_PULLUP; // 32
|
||||
|
||||
// boardConfiguration->spi2mosiPin = GPIOB_15;
|
||||
// boardConfiguration->spi2misoPin = GPIOB_14;
|
||||
// boardConfiguration->spi2sckPin = GPIOB_13;
|
||||
|
|
|
@ -40,7 +40,6 @@ static SPIConfig cj125spicfg = { NULL,
|
|||
/* HW dependent part.*/
|
||||
NULL, 0,
|
||||
SPI_CR1_MSTR |
|
||||
//SPI_CR1_BR_1 // 5MHz
|
||||
SPI_CR1_CPHA | SPI_CR1_BR_0 | SPI_CR1_BR_1 | SPI_CR1_BR_2 };
|
||||
|
||||
/**********************************************************************************
|
||||
|
|
Loading…
Reference in New Issue