auto-sync
This commit is contained in:
parent
0bc7d3d330
commit
da2190ffd0
|
@ -51,6 +51,7 @@ static void setDefaultCrankingFuel(engine_configuration_s *engineConfiguration)
|
|||
|
||||
static void commonMiataNa(engine_configuration_s *engineConfiguration, board_configuration_s *boardConfiguration) {
|
||||
engineConfiguration->triggerConfig.triggerType = TT_MAZDA_MIATA_NA;
|
||||
engineConfiguration->digitalChartSize = 100;
|
||||
|
||||
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
||||
setFuelLoadBin(engineConfiguration, 1.2, 4.4);
|
||||
|
@ -61,7 +62,7 @@ static void commonMiataNa(engine_configuration_s *engineConfiguration, board_con
|
|||
|
||||
boardConfiguration->idleSolenoidFrequency = 160;
|
||||
|
||||
engineConfiguration->globalTriggerAngleOffset = 114;
|
||||
engineConfiguration->globalTriggerAngleOffset = 294;
|
||||
|
||||
// Frankenstein: high side #1 is PE8
|
||||
// Frankenstein: high side #2 is PE10
|
||||
|
|
|
@ -334,7 +334,7 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
|||
boardConfiguration->triggerInputPins[0] = GPIOC_6;
|
||||
boardConfiguration->triggerInputPins[1] = GPIOA_5;
|
||||
boardConfiguration->logicAnalyzerPins[0] = GPIOA_8;
|
||||
boardConfiguration->logicAnalyzerPins[1] = GPIOE_7; // todo: E7 is not timer input, that's a bug!
|
||||
boardConfiguration->logicAnalyzerPins[1] = GPIO_NONE; // GPIOE_5 is a popular option (if available)
|
||||
boardConfiguration->logicAnalyzerPins[2] = GPIO_NONE;
|
||||
boardConfiguration->logicAnalyzerPins[3] = GPIO_NONE;
|
||||
|
||||
|
@ -355,6 +355,7 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
|||
boardConfiguration->canTxPin = GPIOB_0;
|
||||
boardConfiguration->canRxPin = GPIOB_12;
|
||||
|
||||
// set this to SPI_DEVICE_3 to enable stimulation
|
||||
boardConfiguration->digitalPotentiometerSpiDevice = SPI_NONE;
|
||||
boardConfiguration->digitalPotentiometerChipSelect[0] = GPIOD_7;
|
||||
boardConfiguration->digitalPotentiometerChipSelect[1] = GPIO_NONE;
|
||||
|
|
Loading…
Reference in New Issue