Staged injection support; use two sets of injectors on the same engine #5247
This commit is contained in:
parent
37727d4278
commit
76623cec81
|
@ -32,6 +32,8 @@ public:
|
|||
// Per-injection fuel mass, including TPS accel enrich
|
||||
float injectionMass[MAX_CYLINDER_COUNT] = {0};
|
||||
|
||||
float injectionStage2Fraction = 0;
|
||||
|
||||
Timer crankingTimer;
|
||||
|
||||
WarningCodeState warnings;
|
||||
|
@ -76,6 +78,7 @@ public:
|
|||
* @see getInjectionDuration()
|
||||
*/
|
||||
floatms_t injectionDuration = 0;
|
||||
floatms_t injectionDurationStage2 = 0;
|
||||
|
||||
angle_t injectionOffset = 0;
|
||||
|
||||
|
|
|
@ -62,3 +62,7 @@ public:
|
|||
|
||||
using interface_t = IInjectorModel; // Mock interface
|
||||
};
|
||||
|
||||
// TODO: differentiate primary vs. secondary injector configuration
|
||||
struct InjectorModelPrimary : public InjectorModel { };
|
||||
struct InjectorModelSecondary : public InjectorModel { };
|
||||
|
|
Loading…
Reference in New Issue