rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
limp_manager.cpp File Reference

Functions

static bool noFiringUntilVvtSync ()
 

Function Documentation

◆ noFiringUntilVvtSync()

static bool noFiringUntilVvtSync ( )
static

Definition at line 12 of file limp_manager.cpp.

12 {
13 auto operationMode = getEngineRotationState()->getOperationMode();
14
16 // in rare cases engines do not like random sequential mode
17 return true;
18 }
19 if (isGdiEngine()) {
20#if EFI_PROD_CODE
21 criticalError("For GDI please configure CAM and require sync for ignition");
22#endif
23 }
24
25 if (engineConfiguration->ignitionMode == IM_ONE_COIL) {
26 // distributor routes to the correct cylinder, no need to worry about sync
27 return false;
28 }
29
30 // Symmetrical crank modes require cam sync before firing
31 // non-symmetrical cranks can use faster spin-up mode (firing in wasted/batch before VVT sync)
32 // Examples include Nissan MR/VQ, Miata NB, etc
33 return
34 operationMode == FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR ||
35 operationMode == FOUR_STROKE_THREE_TIMES_CRANK_SENSOR ||
37}
virtual operation_mode_e getOperationMode() const =0
EngineRotationState * getEngineRotationState()
Definition engine.cpp:573
static constexpr engine_configuration_s * engineConfiguration
bool isGdiEngine()
@ FOUR_STROKE_SYMMETRICAL_CRANK_SENSOR
@ FOUR_STROKE_TWELVE_TIMES_CRANK_SENSOR
@ FOUR_STROKE_THREE_TIMES_CRANK_SENSOR

Referenced by LimpManager::updateState().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.