FSIO-based timing correction
This commit is contained in:
parent
9dfb3cdbd2
commit
9b4333bb88
|
@ -106,6 +106,7 @@ void Engine::reset() {
|
|||
withError = isEngineChartEnabled = false;
|
||||
sensorChartMode = SC_OFF;
|
||||
actualLastInjection = 0;
|
||||
fsioTimingAdjustment = 0;
|
||||
isAlternatorControlEnabled = false;
|
||||
callFromPitStopEndTime = 0;
|
||||
wallFuelCorrection = 0;
|
||||
|
|
|
@ -347,6 +347,8 @@ public:
|
|||
|
||||
bool isRunningPwmTest;
|
||||
|
||||
float fsioTimingAdjustment;
|
||||
|
||||
/**
|
||||
* Are we experiencing knock right now?
|
||||
*/
|
||||
|
|
|
@ -400,6 +400,9 @@ void runFsio(void) {
|
|||
if (boardConfiguration->fanPin != GPIO_UNASSIGNED) {
|
||||
setPinState("fan", &enginePins.fanRelay, radiatorFanLogic);
|
||||
}
|
||||
if (engineConfiguration->useFSIO16ForTimingAdjustment) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue