mirror of https://github.com/FOME-Tech/fome-fw.git
B6 progress
This commit is contained in:
parent
6c90ddec3b
commit
0c77132048
|
@ -20,6 +20,8 @@ static void commonPassatB6() {
|
|||
engineConfiguration->vvtMode[0] = VVT_BOSCH_QUICK_START;
|
||||
engineConfiguration->map.sensor.type = MT_BOSCH_2_5;
|
||||
|
||||
setTable(config->injectionPhase, -180.0f);
|
||||
|
||||
engineConfiguration->etbIdleThrottleRange = 10;
|
||||
engineConfiguration->idlePidRpmDeadZone = 500;
|
||||
engineConfiguration->idleMode = IM_AUTO;
|
||||
|
|
|
@ -162,7 +162,7 @@ function onTick()
|
|||
motor6Data[3] = math.floor(actualTorque / 0.39)
|
||||
motor6Data[6] = math.floor(feedbackGearbox / 0.39)
|
||||
xorChecksum(motor6Data, 1)
|
||||
txCan(TCU_BUS, MOTOR_6, 0, motor6Data)
|
||||
txCan(1, MOTOR_6, 0, motor6Data)
|
||||
|
||||
txCan(1, MOTOR_7, 0, canMotor7)
|
||||
|
||||
|
|
Loading…
Reference in New Issue