VVT C++ magic - helping Kinetis

This commit is contained in:
Andrey 2021-07-21 23:06:35 -04:00
parent 5648067489
commit 39b9211588
1 changed files with 2 additions and 2 deletions

View File

@ -110,8 +110,8 @@ public:
efitick_t mostRecentTimeBetweenIgnitionEvents;
PrimaryTriggerConfiguration primaryTriggerConfiguration;
#if CAMS_PER_BANK == 0
VvtTriggerConfiguration vvtTriggerConfiguration[CAMS_PER_BANK];
#if CAMS_PER_BANK == 1
VvtTriggerConfiguration vvtTriggerConfiguration[CAMS_PER_BANK] = {{"VVT1 ", 0}};
#else
VvtTriggerConfiguration vvtTriggerConfiguration[CAMS_PER_BANK] = {{"VVT1 ", 0}, {"VVT2 ", 1}};
#endif