Skip to content

Commit

Permalink
fixing roverV8 config
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefi committed May 2, 2017
1 parent 777296c commit f4e8042
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions firmware/config/engines/rover_v8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ void setRoverv8(DECLARE_ENGINE_PARAMETER_F) {
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_36_1;

boardConfiguration->is_enabled_spi_2 = false;
boardConfiguration->isHip9011Enabled = false;
setFrankenstein_01_LCD(boardConfiguration);

engineConfiguration->specs.displacement = 3.528;
Expand Down Expand Up @@ -114,12 +116,12 @@ void setRoverv8(DECLARE_ENGINE_PARAMETER_F) {

/* Stepper logic:
boardConfiguration->idle.stepperDirectionPin = GPIOE_10;
boardConfiguration->idle.stepperStepPin = GPIOE_12;
engineConfiguration->stepperEnablePin = GPIOE_14;
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
engineConfiguration->idleStepperReactionTime = 10;
engineConfiguration->idleStepperTotalSteps = 150;
*/
boardConfiguration->useStepperIdle = true;
boardConfiguration->useStepperIdle = false;

// set injection_pin_mode 0
boardConfiguration->injectionPinMode = OM_DEFAULT;
Expand Down

0 comments on commit f4e8042

Please sign in to comment.