dead magic macro
This commit is contained in:
parent
d42f56b8f6
commit
965333e410
|
@ -97,8 +97,6 @@ static int getCrankDivider(operation_mode_e operationMode) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#define miataNbIndex (0)
|
|
||||||
|
|
||||||
static bool vvtWithRealDecoder(vvt_mode_e vvtMode) {
|
static bool vvtWithRealDecoder(vvt_mode_e vvtMode) {
|
||||||
// todo: why does VVT_2JZ not use real decoder?
|
// todo: why does VVT_2JZ not use real decoder?
|
||||||
return vvtMode != VVT_INACTIVE
|
return vvtMode != VVT_INACTIVE
|
||||||
|
@ -149,7 +147,7 @@ static angle_t adjustCrankPhase(int camIndex DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||||
/**
|
/**
|
||||||
* NB2 is a symmetrical crank, there are four phases total
|
* NB2 is a symmetrical crank, there are four phases total
|
||||||
*/
|
*/
|
||||||
return syncAndReport(tc, getCrankDivider(operationMode), miataNbIndex PASS_ENGINE_PARAMETER_SUFFIX);
|
return syncAndReport(tc, getCrankDivider(operationMode), 0 PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
case VVT_NISSAN_VQ:
|
case VVT_NISSAN_VQ:
|
||||||
return syncAndReport(tc, getCrankDivider(operationMode), 0 PASS_ENGINE_PARAMETER_SUFFIX);
|
return syncAndReport(tc, getCrankDivider(operationMode), 0 PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue