B6 progress

This commit is contained in:
rusefillc 2022-12-26 22:19:53 -05:00
parent 6c90ddec3b
commit 0c77132048
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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)