auto-sync
This commit is contained in:
parent
1d1cf5e978
commit
b6cf95c4a9
|
@ -96,7 +96,8 @@ typedef struct {
|
|||
int knockCount;
|
||||
float fuelLevel;
|
||||
float knockLevel;
|
||||
int unused3[10];
|
||||
int totalTriggerErrorCounter;
|
||||
int unused3[9];
|
||||
} TunerStudioOutputChannels;
|
||||
|
||||
#endif /* TUNERSTUDIO_CONFIGURATION_H_ */
|
||||
|
|
|
@ -597,6 +597,7 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
|||
tsOutputChannels->injectorDutyCycle = getInjectorDutyCycle(rpm PASS_ENGINE_PARAMETER);
|
||||
tsOutputChannels->fuelLevel = engine->engineState.fuelLevel;
|
||||
tsOutputChannels->hasFatalError = hasFirmwareError();
|
||||
tsOutputChannels->totalTriggerErrorCounter = triggerCentral.triggerState.totalTriggerErrorCounter;
|
||||
|
||||
tsOutputChannels->checkEngine = hasErrorCodes();
|
||||
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
||||
|
|
|
@ -52,6 +52,9 @@ public:
|
|||
*/
|
||||
uint32_t prevTotalTime[PWM_PHASE_MAX_WAVE_PER_PWM];
|
||||
int expectedTotalTime[PWM_PHASE_MAX_WAVE_PER_PWM];
|
||||
/**
|
||||
* how many times since ECU reboot we had unexpected number of teeth in trigger cycle
|
||||
*/
|
||||
uint32_t totalTriggerErrorCounter;
|
||||
uint32_t runningTriggerErrorCounter;
|
||||
uint32_t orderingErrorCounter;
|
||||
|
|
Loading…
Reference in New Issue