From 965333e410813a948fcd457e80553d0cfdb22fe4 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 28 Oct 2021 19:18:50 -0400 Subject: [PATCH] dead magic macro --- firmware/controllers/trigger/trigger_central.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/firmware/controllers/trigger/trigger_central.cpp b/firmware/controllers/trigger/trigger_central.cpp index 660e242d90..37e538be26 100644 --- a/firmware/controllers/trigger/trigger_central.cpp +++ b/firmware/controllers/trigger/trigger_central.cpp @@ -97,8 +97,6 @@ static int getCrankDivider(operation_mode_e operationMode) { } } -#define miataNbIndex (0) - static bool vvtWithRealDecoder(vvt_mode_e vvtMode) { // todo: why does VVT_2JZ not use real decoder? 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 */ - return syncAndReport(tc, getCrankDivider(operationMode), miataNbIndex PASS_ENGINE_PARAMETER_SUFFIX); + return syncAndReport(tc, getCrankDivider(operationMode), 0 PASS_ENGINE_PARAMETER_SUFFIX); case VVT_NISSAN_VQ: return syncAndReport(tc, getCrankDivider(operationMode), 0 PASS_ENGINE_PARAMETER_SUFFIX); default: