initialization
This commit is contained in:
parent
225e403973
commit
7a85161a4a
|
@ -54,11 +54,11 @@ private:
|
|||
/**
|
||||
* Used for Fractional TPS enrichment.
|
||||
*/
|
||||
floatms_t accumulatedValue;
|
||||
floatms_t maxExtraPerCycle;
|
||||
floatms_t maxExtraPerPeriod;
|
||||
floatms_t maxInjectedPerPeriod;
|
||||
int cycleCnt;
|
||||
floatms_t accumulatedValue = 0;
|
||||
floatms_t maxExtraPerCycle = 0;
|
||||
floatms_t maxExtraPerPeriod = 0;
|
||||
floatms_t maxInjectedPerPeriod = 0;
|
||||
int cycleCnt = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,7 +37,7 @@ public:
|
|||
Accelerometer accelerometer;
|
||||
|
||||
float vBatt = 0;
|
||||
float currentAfr;
|
||||
float currentAfr = 0;
|
||||
/**
|
||||
* that's fuel in tank - just a gauge
|
||||
*/
|
||||
|
@ -131,7 +131,7 @@ private:
|
|||
|
||||
struct multispark_state
|
||||
{
|
||||
efitick_t delay;
|
||||
efitick_t dwell;
|
||||
uint8_t count;
|
||||
efitick_t delay = 0;
|
||||
efitick_t dwell = 0;
|
||||
uint8_t count = 0;
|
||||
};
|
||||
|
|
|
@ -107,12 +107,12 @@ public:
|
|||
* Desired timing advance
|
||||
*/
|
||||
angle_t sparkAngle = NAN;
|
||||
floatms_t sparkDwell;
|
||||
floatms_t sparkDwell = 0;
|
||||
/**
|
||||
* this timestamp allows us to measure actual dwell time
|
||||
*/
|
||||
uint32_t actualStartOfDwellNt;
|
||||
event_trigger_position_s dwellPosition;
|
||||
uint32_t actualStartOfDwellNt = 0;
|
||||
event_trigger_position_s dwellPosition{};
|
||||
/**
|
||||
* Sequential number of currently processed spark event
|
||||
* @see globalSparkIdCounter
|
||||
|
|
Loading…
Reference in New Issue