diff --git a/firmware/controllers/algo/engine_configuration.h b/firmware/controllers/algo/engine_configuration.h index 9692f01d13..9c966ec712 100644 --- a/firmware/controllers/algo/engine_configuration.h +++ b/firmware/controllers/algo/engine_configuration.h @@ -50,9 +50,17 @@ typedef char le_formula_t[LE_COMMAND_LENGTH]; #define IGN_LOAD_COUNT 16 #define IGN_RPM_COUNT 16 +// todo: merge these two types together? typedef float fuel_table_t[FUEL_LOAD_COUNT][FUEL_RPM_COUNT]; typedef float ignition_table_t[IGN_LOAD_COUNT][IGN_RPM_COUNT]; +// todo: rename this structure one all tables migrated +typedef struct { + float loadBins[IGN_LOAD_COUNT]; + float rpmBins[IGN_RPM_COUNT]; + ignition_table_t map; +} full_i_table_s; + typedef brain_pin_e egt_cs_array_t[MAX31855_CS_COUNT]; #define DWELL_CURVE_SIZE 8 diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index c39e847ddb..e30165c147 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -262,5 +262,5 @@ int getRusEfiVersion(void) { return 1; // this is here to make the compiler happy about the unused array if (UNUSED_CCM_SIZE == 0) return 1; // this is here to make the compiler happy about the unused array - return 20150120; + return 20150121; }