better defaults?
This commit is contained in:
parent
74a359077c
commit
6254b554e2
|
@ -59,10 +59,10 @@ void setRoverv8(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->ignitionMode = IM_WASTED_SPARK;
|
||||
|
||||
// set_ignition_channels
|
||||
boardConfiguration->ignitionPins[0] = GPIOE_8; // Frankenstein: low side - out #8
|
||||
boardConfiguration->ignitionPins[1] = GPIOE_10; // Frankenstein: low side - out #8
|
||||
boardConfiguration->ignitionPins[2] = GPIOE_12; // Frankenstein: low side - out #8
|
||||
boardConfiguration->ignitionPins[3] = GPIOE_14; // Frankenstein: low side - out #8
|
||||
boardConfiguration->ignitionPins[0] = GPIOE_8; // Frankenstein: low side - out #x (?)
|
||||
boardConfiguration->ignitionPins[7] = GPIOE_10; // Frankenstein: low side - out #x (?)
|
||||
boardConfiguration->ignitionPins[3] = GPIOE_12; // Frankenstein: low side - out #x (?)
|
||||
boardConfiguration->ignitionPins[2] = GPIOE_14; // Frankenstein: low side - out #x (?)
|
||||
|
||||
// Frankenstein: low side - out #1: PC14
|
||||
// Frankenstein: low side - out #2: PC15
|
||||
|
@ -115,13 +115,13 @@ void setRoverv8(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
engineConfiguration->tpsMin = convertVoltageTo10bitADC(1.250);
|
||||
engineConfiguration->tpsMax = convertVoltageTo10bitADC(4.538);
|
||||
|
||||
/* Stepper logic:
|
||||
boardConfiguration->idle.stepperDirectionPin = GPIOE_10;
|
||||
boardConfiguration->idle.stepperStepPin = GPIOE_12; // todo: set pin which would not conflict with coils
|
||||
engineConfiguration->stepperEnablePin = GPIOE_14; // todo: set pin which would not conflict with coils
|
||||
// Stepper logic:
|
||||
boardConfiguration->idle.stepperDirectionPin = GPIOB_10;
|
||||
boardConfiguration->idle.stepperStepPin = GPIOB_15;
|
||||
engineConfiguration->stepperEnablePin = GPIOB_14;
|
||||
engineConfiguration->idleStepperReactionTime = 10;
|
||||
engineConfiguration->idleStepperTotalSteps = 150;
|
||||
*/
|
||||
|
||||
boardConfiguration->useStepperIdle = false;
|
||||
|
||||
// set injection_pin_mode 0
|
||||
|
|
Loading…
Reference in New Issue