very random progress
This commit is contained in:
parent
70e4d118ef
commit
06e899e1bb
|
@ -329,7 +329,9 @@ public:
|
||||||
|
|
||||||
TpsAccelEnrichment tpsAccelEnrichment;
|
TpsAccelEnrichment tpsAccelEnrichment;
|
||||||
|
|
||||||
|
#if EFI_SHAFT_POSITION_INPUT
|
||||||
TriggerCentral triggerCentral;
|
TriggerCentral triggerCentral;
|
||||||
|
#endif // EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Each individual fuel injection duration for current engine cycle, without wall wetting
|
* Each individual fuel injection duration for current engine cycle, without wall wetting
|
||||||
|
|
|
@ -28,7 +28,7 @@ extern uint32_t maxSchedulingPrecisionLoss;
|
||||||
extern uint32_t *cyccnt;
|
extern uint32_t *cyccnt;
|
||||||
|
|
||||||
void resetMaxValues() {
|
void resetMaxValues() {
|
||||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
#if (EFI_PROD_CODE || EFI_SIMULATOR) && EFI_SHAFT_POSITION_INPUT
|
||||||
maxEventCallbackDuration = triggerMaxDuration = 0;
|
maxEventCallbackDuration = triggerMaxDuration = 0;
|
||||||
#endif /* EFI_PROD_CODE || EFI_SIMULATOR */
|
#endif /* EFI_PROD_CODE || EFI_SIMULATOR */
|
||||||
|
|
||||||
|
|
|
@ -99,14 +99,14 @@ void TriggerState::resetCurrentCycleState() {
|
||||||
currentCycle.current_index = 0;
|
currentCycle.current_index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if EFI_SHAFT_POSITION_INPUT
|
||||||
|
|
||||||
TriggerStateWithRunningStatistics::TriggerStateWithRunningStatistics() :
|
TriggerStateWithRunningStatistics::TriggerStateWithRunningStatistics() :
|
||||||
//https://en.cppreference.com/w/cpp/language/zero_initialization
|
//https://en.cppreference.com/w/cpp/language/zero_initialization
|
||||||
timeOfLastEvent(), instantRpmValue()
|
timeOfLastEvent(), instantRpmValue()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
#if EFI_SHAFT_POSITION_INPUT
|
|
||||||
|
|
||||||
#if ! EFI_PROD_CODE
|
#if ! EFI_PROD_CODE
|
||||||
bool printTriggerDebug = false;
|
bool printTriggerDebug = false;
|
||||||
bool printTriggerTrace = false;
|
bool printTriggerTrace = false;
|
||||||
|
|
Loading…
Reference in New Issue