Skip to content

Commit

Permalink
Remove knock 2d tables - unused.
Browse files Browse the repository at this point in the history
  • Loading branch information
adbancroft committed Sep 30, 2024
1 parent 4ba90f0 commit bead125
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions speeduino/globals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ struct table2D flexFuelTable; ///< 6 bin flex fuel correction table for fuel ad
struct table2D flexAdvTable; ///< 6 bin flex fuel correction table for timing advance (2D)
struct table2D flexBoostTable; ///< 6 bin flex fuel correction table for boost adjustments (2D)
struct table2D fuelTempTable; ///< 6 bin flex fuel correction table for fuel adjustments (2D)
struct table2D knockWindowStartTable;
struct table2D knockWindowDurationTable;
// struct table2D knockWindowStartTable;
// struct table2D knockWindowDurationTable;
struct table2D oilPressureProtectTable;
struct table2D wmiAdvTable; //6 bin wmi correction table for timing advance (2D)
struct table2D coolantProtectTable;
Expand Down
4 changes: 2 additions & 2 deletions speeduino/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ extern struct table2D flexFuelTable; //6 bin flex fuel correction table for fue
extern struct table2D flexAdvTable; //6 bin flex fuel correction table for timing advance (2D)
extern struct table2D flexBoostTable; //6 bin flex fuel correction table for boost adjustments (2D)
extern struct table2D fuelTempTable; //6 bin fuel temperature correction table for fuel adjustments (2D)
extern struct table2D knockWindowStartTable;
extern struct table2D knockWindowDurationTable;
// extern struct table2D knockWindowStartTable;
// extern struct table2D knockWindowDurationTable;
extern struct table2D oilPressureProtectTable;
extern struct table2D wmiAdvTable; //6 bin wmi correction table for timing advance (2D)
extern struct table2D coolantProtectTable; //6 bin coolant temperature protection table for engine protection (2D)
Expand Down
4 changes: 2 additions & 2 deletions speeduino/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ TESTABLE_INLINE_STATIC void construct2dTables(void) {
construct2dTable(rollingCutTable, _countof(configPage15.rollingProtCutPercent), configPage15.rollingProtCutPercent, configPage15.rollingProtRPMDelta);
construct2dTable(injectorAngleTable, _countof(configPage2.injAng), configPage2.injAng, configPage2.injAngRPM);
construct2dTable(flexBoostTable, _countof(configPage10.flexBoostAdj), configPage10.flexBoostAdj, configPage10.flexBoostBins);
construct2dTable(knockWindowStartTable, _countof(configPage10.knock_window_angle), configPage10.knock_window_angle, configPage10.knock_window_rpms);
construct2dTable(knockWindowDurationTable, _countof(configPage10.knock_window_dur), configPage10.knock_window_dur, configPage10.knock_window_rpms);
// construct2dTable(knockWindowStartTable, _countof(configPage10.knock_window_angle), configPage10.knock_window_angle, configPage10.knock_window_rpms);
// construct2dTable(knockWindowDurationTable, _countof(configPage10.knock_window_dur), configPage10.knock_window_dur, configPage10.knock_window_rpms);
construct2dTable(cltCalibrationTable, _countof(cltCalibration_values), cltCalibration_values, cltCalibration_bins);
construct2dTable(iatCalibrationTable, _countof(iatCalibration_values), iatCalibration_values, iatCalibration_bins);
construct2dTable(o2CalibrationTable, _countof(o2Calibration_values), o2Calibration_values, o2Calibration_bins);
Expand Down

0 comments on commit bead125

Please sign in to comment.