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