auto-sync
This commit is contained in:
parent
d51a84c2a0
commit
64cd611f78
|
@ -120,7 +120,7 @@ bool isSerialOverUart(void) {
|
|||
return is_serial_over_uart;
|
||||
}
|
||||
|
||||
#if defined(EFI_CONSOLE_UART_DEVICE) || defined(__DOXYGEN__)
|
||||
#if (defined(EFI_CONSOLE_UART_DEVICE) && ! EFI_SIMULATOR ) || defined(__DOXYGEN__)
|
||||
static SerialConfig serialConfig = { SERIAL_SPEED, 0, USART_CR2_STOP1_BITS | USART_CR2_LINEN, 0 };
|
||||
#endif
|
||||
|
||||
|
@ -197,7 +197,7 @@ void consoleOutputBuffer(const uint8_t *buf, int size) {
|
|||
void startConsole(void (*console_line_callback_p)(char *)) {
|
||||
console_line_callback = console_line_callback_p;
|
||||
|
||||
#if defined(EFI_CONSOLE_UART_DEVICE) || defined(__DOXYGEN__)
|
||||
#if (defined(EFI_CONSOLE_UART_DEVICE) && ! EFI_SIMULATOR) || defined(__DOXYGEN__)
|
||||
|
||||
palSetPadMode(CONSOLE_MODE_SWITCH_PORT, CONSOLE_MODE_SWITCH_PIN, PAL_MODE_INPUT_PULLUP);
|
||||
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
/**
|
||||
* this is used to confirm that firmware and TunerStudio are using the same rusefi.ini version
|
||||
*/
|
||||
#define TS_FILE_VERSION 20141225
|
||||
#define TS_FILE_VERSION 20150112
|
||||
|
||||
#define PAGE_0_SIZE 10008
|
||||
#define PAGE_0_SIZE 11832
|
||||
#define TS_OUTPUT_SIZE 116
|
||||
|
||||
#define EGT_CHANNEL_COUNT 8
|
||||
|
|
|
@ -184,6 +184,7 @@ void setDefaultConfiguration(engine_configuration_s *engineConfiguration, board_
|
|||
setWholeFuelMap(engineConfiguration, 3);
|
||||
setWholeVEMap(engineConfiguration, 0.8);
|
||||
setMap(engineConfiguration->afrTable, 14.7);
|
||||
setMap(engineConfiguration->injectionPhase, 0);
|
||||
|
||||
setThermistorConfiguration(&engineConfiguration->cltThermistorConf, 0, 9500, 23.8889, 2100, 48.8889, 1000);
|
||||
engineConfiguration->cltThermistorConf.bias_resistor = 1500;
|
||||
|
|
|
@ -608,7 +608,13 @@ typedef struct {
|
|||
*/
|
||||
brain_pin_e clutchUpPin;
|
||||
pin_input_mode_e clutchUpPinMode;
|
||||
int unused3[82];
|
||||
int unused3[182];
|
||||
|
||||
le_formula_t timingMultiplier;
|
||||
le_formula_t timingAdditive;
|
||||
|
||||
fuel_table_t injectionPhase;
|
||||
|
||||
|
||||
} engine_configuration_s;
|
||||
|
||||
|
|
|
@ -259,14 +259,14 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
}
|
||||
|
||||
static char UNUSED_RAM_SIZE[5000];
|
||||
static char UNUSED_RAM_SIZE[4000];
|
||||
|
||||
static char UNUSED_CCM_SIZE[9000] CCM_OPTIONAL;
|
||||
static char UNUSED_CCM_SIZE[8000] CCM_OPTIONAL;
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
if (UNUSED_RAM_SIZE == 0)
|
||||
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 20150111;
|
||||
return 20150112;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue