FSIO-based timing correction

This commit is contained in:
rusefi 2017-07-25 20:37:46 -04:00
parent 7c53e4ae37
commit 5e74c8e0bf
3 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,7 @@ void Engine::reset() {
withError = isEngineChartEnabled = false;
sensorChartMode = SC_OFF;
actualLastInjection = 0;
fsioTimingAdjustment = 0;
isAlternatorControlEnabled = false;
callFromPitStopEndTime = 0;
wallFuelCorrection = 0;

View File

@ -347,6 +347,8 @@ public:
bool isRunningPwmTest;
float fsioTimingAdjustment;
/**
* Are we experiencing knock right now?
*/

View File

@ -400,6 +400,9 @@ void runFsio(void) {
if (boardConfiguration->fanPin != GPIO_UNASSIGNED) {
setPinState("fan", &enginePins.fanRelay, radiatorFanLogic);
}
if (engineConfiguration->useFSIO16ForTimingAdjustment) {
}
}