default init is ok for these

This commit is contained in:
Matthew Kennedy 2024-04-25 15:49:27 -07:00
parent 79dfb0f2c4
commit 8e4994627d
4 changed files with 6 additions and 6 deletions

View File

@ -201,7 +201,7 @@ public:
IgnitionState ignitionState;
void resetLua();
efitick_t startStopStateLastPushTime = 0;
efitick_t startStopStateLastPushTime;
#if EFI_SHAFT_POSITION_INPUT
void OnTriggerStateProperState(efitick_t nowNt) override;
@ -303,7 +303,7 @@ public:
SensorsState sensors;
efitick_t mainRelayBenchStartNt = 0;
efitick_t mainRelayBenchStartNt;
void preCalculate();

View File

@ -85,5 +85,5 @@ private:
SensorResult m_result;
efidur_t m_timeoutPeriod;
efitick_t m_lastUpdate = 0;
efitick_t m_lastUpdate;
};

View File

@ -68,7 +68,7 @@ struct scheduling_s {
/**
* timestamp represented as 64-bit value of ticks since MCU start
*/
efitick_t momentX = 0;
efitick_t momentX;
/**
* Scheduler implementation uses a sorted linked list of these scheduling records.

View File

@ -39,7 +39,7 @@ public:
bool isFull() const;
bool isStartedTooLongAgo() const;
// looks like this is only used by functional tests on real hardware
efitick_t pauseEngineSnifferUntilNt = 0;
efitick_t pauseEngineSnifferUntilNt;
int getSize();
private:
@ -52,7 +52,7 @@ private:
* https://github.com/rusefi/rusefi/issues/780
*/
bool collectingData = false;
efitick_t startTimeNt = 0;
efitick_t startTimeNt;
volatile int isInitialized = false;
};