public void InitAutoTuneVars(bool ClosedLoopOn, int width, int height) { _monitoringCellRPMIndex = -1; _monitoringCellMAPIndex = -1; _afrMeasurements.Clear(); _cellDurationMonitor.Stop(); _cellDurationMonitor.Reset(); // reset the feedback AFR map! if (!ClosedLoopOn) { // means we're entering autotune, in that case clear the feedback map InitAFRFeedbackMaps(width, height); m_FuelMapInformation = new FuelMapInformation(); // set default values // m_FuelMapInformation.SetOriginalFuelMap(fuelmap); } }