VVT C++ magic - helping Kinetis

This commit is contained in:
Andrey 2021-07-21 22:38:00 -04:00
parent 5ae7dcfaa0
commit 41cd36b79e
1 changed files with 5 additions and 0 deletions

View File

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