auto-sync
This commit is contained in:
parent
ba55bd455c
commit
6c5412a1fb
|
@ -120,10 +120,10 @@
|
||||||
|
|
||||||
#if defined __GNUC__
|
#if defined __GNUC__
|
||||||
#define EFI_PERF_METRICS TRUE
|
#define EFI_PERF_METRICS TRUE
|
||||||
#define DL_OUTPUT_BUFFER 7000
|
#define DL_OUTPUT_BUFFER 6500
|
||||||
#else
|
#else
|
||||||
#define EFI_PERF_METRICS FALSE
|
#define EFI_PERF_METRICS FALSE
|
||||||
#define DL_OUTPUT_BUFFER 9000
|
#define DL_OUTPUT_BUFFER 8000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -14,9 +14,9 @@
|
||||||
/**
|
/**
|
||||||
* this is used to confirm that firmware and TunerStudio are using the same rusefi.ini version
|
* this is used to confirm that firmware and TunerStudio are using the same rusefi.ini version
|
||||||
*/
|
*/
|
||||||
#define TS_FILE_VERSION 20141008
|
#define TS_FILE_VERSION 20141103
|
||||||
|
|
||||||
#define PAGE_0_SIZE 9608
|
#define PAGE_0_SIZE 10008
|
||||||
#define TS_OUTPUT_SIZE 116
|
#define TS_OUTPUT_SIZE 116
|
||||||
|
|
||||||
#define EGT_CHANNEL_COUNT 8
|
#define EGT_CHANNEL_COUNT 8
|
||||||
|
|
|
@ -101,6 +101,8 @@ typedef struct {
|
||||||
|
|
||||||
#define DWELL_COUNT 8
|
#define DWELL_COUNT 8
|
||||||
|
|
||||||
|
#define CRANKING_CURVE_SIZE 8
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Trigger wheel(s) configuration
|
* @brief Trigger wheel(s) configuration
|
||||||
*/
|
*/
|
||||||
|
@ -472,7 +474,13 @@ typedef struct {
|
||||||
|
|
||||||
float primingSquirtDurationMs;
|
float primingSquirtDurationMs;
|
||||||
|
|
||||||
int unused3[23];
|
float crankingFuelCoef[CRANKING_CURVE_SIZE];
|
||||||
|
float crankingFuelBins[CRANKING_CURVE_SIZE];
|
||||||
|
|
||||||
|
float crankingCycleCoef[CRANKING_CURVE_SIZE];
|
||||||
|
float crankingCycleBins[CRANKING_CURVE_SIZE];
|
||||||
|
|
||||||
|
int unused3[91];
|
||||||
|
|
||||||
} engine_configuration_s;
|
} engine_configuration_s;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
#include "engine.h"
|
#include "engine.h"
|
||||||
|
|
||||||
#define FLASH_DATA_VERSION 5014
|
#define FLASH_DATA_VERSION 5056
|
||||||
|
|
||||||
void readFromFlash(void);
|
void readFromFlash(void);
|
||||||
void initFlash(Engine *engine);
|
void initFlash(Engine *engine);
|
||||||
|
|
|
@ -26,13 +26,10 @@
|
||||||
#include "main_trigger_callback.h"
|
#include "main_trigger_callback.h"
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
|
|
||||||
static Logging logger;
|
|
||||||
|
|
||||||
extern engine_configuration_s *engineConfiguration;
|
extern engine_configuration_s *engineConfiguration;
|
||||||
extern board_configuration_s *boardConfiguration;
|
extern board_configuration_s *boardConfiguration;
|
||||||
|
|
||||||
void initIgnitionCentral(void) {
|
void initIgnitionCentral(void) {
|
||||||
initLogging(&logger, "IgnitionCentral");
|
|
||||||
|
|
||||||
for (int i = 0; i < engineConfiguration->cylindersCount; i++) {
|
for (int i = 0; i < engineConfiguration->cylindersCount; i++) {
|
||||||
io_pin_e pin = (io_pin_e)((int)SPARKOUT_1_OUTPUT + i);
|
io_pin_e pin = (io_pin_e)((int)SPARKOUT_1_OUTPUT + i);
|
||||||
|
|
|
@ -249,5 +249,5 @@ void firmwareError(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 20141102;
|
return 20141103;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue