auto-sync
This commit is contained in:
parent
fbdddc9503
commit
75e6233eaf
|
@ -180,8 +180,8 @@ char *getWorkingPageAddr(int pageIndex) {
|
|||
switch (pageIndex) {
|
||||
case 0:
|
||||
return (char*) &configWorkingCopy.engineConfiguration;
|
||||
case 1:
|
||||
return (char*) &configWorkingCopy.ve2Table;
|
||||
// case 1:
|
||||
// return (char*) &configWorkingCopy.ve2Table;
|
||||
// case 2:
|
||||
// return (char*) &configWorkingCopy.fuelTable;
|
||||
// case 3:
|
||||
|
|
|
@ -38,21 +38,6 @@
|
|||
float getRpmMultiplier(operation_mode_e mode);
|
||||
void setOperationMode(engine_configuration_s *engineConfiguration, operation_mode_e mode);
|
||||
|
||||
typedef struct {
|
||||
engine_configuration_s engineConfiguration;
|
||||
|
||||
ve_table_t ve2Table;
|
||||
/**
|
||||
* offset 15032
|
||||
*/
|
||||
float ve2LoadBins[FUEL_LOAD_COUNT];
|
||||
/**
|
||||
* offset 15096
|
||||
*/
|
||||
float ve2RpmBins[FUEL_RPM_COUNT];
|
||||
|
||||
} persistent_config_s;
|
||||
|
||||
typedef struct {
|
||||
int version;
|
||||
int size;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// this section was generated by config_definition.jar on Sat Apr 04 14:18:42 EDT 2015
|
||||
// this section was generated by config_definition.jar on Sat Apr 04 17:10:30 EDT 2015
|
||||
// begin
|
||||
#include "rusefi_types.h"
|
||||
typedef struct {
|
||||
|
@ -1242,5 +1242,13 @@ typedef struct {
|
|||
/** total size 15288*/
|
||||
} engine_configuration_s;
|
||||
|
||||
typedef struct {
|
||||
/**
|
||||
* offset 0
|
||||
*/
|
||||
engine_configuration_s engineConfiguration;
|
||||
/** total size 15288*/
|
||||
} persistent_config_s;
|
||||
|
||||
// end
|
||||
// this section was generated by config_definition.jar on Sat Apr 04 14:18:42 EDT 2015
|
||||
// this section was generated by config_definition.jar on Sat Apr 04 17:10:30 EDT 2015
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
|
||||
! all the sub-structures are going to be nested withint the primary structure, that's
|
||||
! needed to get a proper TunerStudio file
|
||||
struct engine_configuration_s
|
||||
|
||||
struct persistent_config_s
|
||||
|
||||
struct_no_prefix engine_configuration_s
|
||||
|
||||
#define MAP_ANGLE_SIZE 8
|
||||
#define MAP_WINDOW_SIZE 8
|
||||
|
@ -534,8 +537,13 @@ ignition_table_t ignitionIatCorrTable;
|
|||
float[IGN_LOAD_COUNT] ignitionIatCorrLoadBins;;"Load", 1, 0.0, 0, 300.0, 2
|
||||
float[IGN_RPM_COUNT] ignitionIatCorrRpmBins;;"RPM", 1, 0.0, 0, 18000.0, 2
|
||||
|
||||
|
||||
end_struct
|
||||
|
||||
engine_configuration_s engineConfiguration;
|
||||
|
||||
! ve_table_t ve2Table;
|
||||
! float[FUEL_LOAD_COUNT] ve2LoadBins;;"%", 1, 0.0, 0, 300.0, 2
|
||||
! float[FUEL_RPM_COUNT] ve2RpmBins;;"RPM", 1, 0.0, 0, 18000.0, 2
|
||||
|
||||
end_struct
|
||||
end_struct
|
||||
|
|
Loading…
Reference in New Issue