auto-sync

This commit is contained in:
rusEfi 2015-08-18 14:03:02 -04:00
parent 3beeede16c
commit afaeb30f98
5 changed files with 25 additions and 6 deletions

View File

@ -317,6 +317,9 @@ void setDefaultConfiguration(DECLARE_ENGINE_PARAMETER_F) {
engineConfiguration->noAccelAfterHardLimitPeriodSecs = 3;
setTableBin2(engineConfiguration->crankingTpsCoef, CRANKING_CURVE_SIZE, 1, 1, 1);
setTableBin2(engineConfiguration->crankingTpsBins, CRANKING_CURVE_SIZE, 0, 100, 1);
config->crankingFuelCoef[0] = 5; // base cranking fuel adjustment coefficient
config->crankingFuelBins[0] = -20; // temperature in C
config->crankingFuelCoef[1] = 3.7;

View File

@ -1,4 +1,4 @@
// this section was generated by config_definition.jar on Mon Jul 13 18:45:26 EDT 2015
// this section was generated by config_definition.jar on Tue Aug 18 12:48:49 EDT 2015
// begin
#include "rusefi_types.h"
typedef struct {
@ -1238,7 +1238,15 @@ typedef struct {
/**
* offset 1760
*/
int unused3[99];
float crankingTpsCoef[CRANKING_CURVE_SIZE];
/**
* offset 1792
*/
float crankingTpsBins[CRANKING_CURVE_SIZE];
/**
* offset 1824
*/
int unused3[83];
/**
* offset 2156
*/
@ -1449,4 +1457,4 @@ typedef struct {
} persistent_config_s;
// end
// this section was generated by config_definition.jar on Mon Jul 13 18:45:26 EDT 2015
// this section was generated by config_definition.jar on Tue Aug 18 12:48:49 EDT 2015

View File

@ -646,7 +646,11 @@
#define spi2SckMode_offset 1748
#define spi2MosiMode_offset 1752
#define spi2MisoMode_offset 1756
#define unused3_offset 1760
#define crankingTpsCoef_offset 1760
#define crankingTpsBins_offset 1792
#define crankingTpsBins_offset_hex 700
#define unused3_offset 1824
#define unused3_offset_hex 720
#define targetVBatt_offset 2156
#define alternatorOffAboveTps_offset 2160
#define alternatorOffAboveTps_offset_hex 870

View File

@ -565,7 +565,11 @@ baro_corr_table_t baroCorrTable;
int spi2SckMode;
int spi2MosiMode;
int spi2MisoMode;
int[99] unused3;
float[CRANKING_CURVE_SIZE] crankingTpsCoef;;"%", 1, 0, 0.0, 700.0, 2
float[CRANKING_CURVE_SIZE] crankingTpsBins;;"%", 1, 0, 0.0, 100.0, 2
int[83] unused3;
float targetVBatt;;"Volts", 1, 0, 0,30, 1
float alternatorOffAboveTps;Turn off alternator output above specified TPS;"%", 1, 0, 0, 200, 2

View File

@ -291,5 +291,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20150816;
return 20150818;
}