This commit is contained in:
rusefi 2018-10-13 09:24:41 -04:00
parent 4549803fa9
commit 8ba703da6b
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ void setTimingLoadBin(float from, float to DECLARE_ENGINE_PARAMETER_SUFFIX);
void setSingleCoilDwell(engine_configuration_s *engineConfiguration);
// we combine trigger-defined triggerShape.tdcPosition with user-defined CONFIG(globalTriggerAngleOffset)
// expectation is that for well-known triggers CONFIG(globalTriggerAngleOffset) would usually be zero
// while for toothed wheels user would have to provide a value
#define tdcPosition() \
(ENGINE(triggerCentral.triggerShape.tdcPosition) + CONFIG(globalTriggerAngleOffset))