auto-sync

This commit is contained in:
rusEfi 2016-03-21 16:01:49 -04:00
parent 27df0116fe
commit 5feee7f442
3 changed files with 21 additions and 4 deletions

View File

@ -8,9 +8,25 @@
*/
#include "lada_kalina.h"
#include "custom_engine.h"
#include "fsio_impl.h"
EXTERN_ENGINE;
void setLadaKalina(DECLARE_ENGINE_PARAMETER_F) {
setCustomEngineConfiguration(PASS_ENGINE_PARAMETER_F);
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
// starter relay solenoid
/**
* to test
* set_fsio_setting 0 5000
*/
engineConfiguration->bc.fsio_setting[0] = 500;
// set_fsio_expression 1 "rpm 0 fsio_setting <"
setFsioExt(0, GPIOE_3, "rpm 0 fsio_setting <", 150 PASS_ENGINE_PARAMETER);
}

View File

@ -1,4 +1,4 @@
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Mar 12 09:18:24 EST 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 20 15:05:16 EDT 2016
// begin
#ifndef ENGINE_CONFIGURATION_GENERATED_H_
#define ENGINE_CONFIGURATION_GENERATED_H_
@ -727,6 +727,7 @@ typedef struct {
*/
brain_pin_e joystickDPin;
/**
* rusEfi console Sensor Sniffer mode
* offset 776
*/
sensor_chart_e sensorChartMode;
@ -766,7 +767,7 @@ typedef struct {
*/
engine_type_e engineType;
/**
* Disable engine sniffer above this rpm
* Engine sniffer would be disabled above this rpm
* offset 4
*/
int engineSnifferRpmThreshold;
@ -1698,4 +1699,4 @@ typedef struct {
#endif
// end
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Mar 12 09:18:24 EST 2016
// this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sun Mar 20 15:05:16 EDT 2016

View File

@ -1,5 +1,5 @@
#define LE_COMMAND_LENGTH 200
#define TS_FILE_VERSION 20160122
#define TS_FILE_VERSION 20160312
#define WARMUP_TARGET_AFR_SIZE 4
#define MAP_ANGLE_SIZE 8
#define MAP_WINDOW_SIZE 8