dead magic macro

This commit is contained in:
Andrey 2021-10-28 19:18:50 -04:00
parent d42f56b8f6
commit 965333e410
1 changed files with 1 additions and 3 deletions

View File

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