auto-sync
This commit is contained in:
parent
233bf3ee5b
commit
74672f07e1
|
@ -286,6 +286,8 @@ void setFordEscortGt(DECLARE_ENGINE_PARAMETER_F) {
|
|||
engineConfiguration->engineLoadAccelEnrichmentThreshold = 5.0;
|
||||
engineConfiguration->engineLoadAccelEnrichmentMultiplier = 1;
|
||||
|
||||
boardConfiguration->isSdCardEnabled = true;
|
||||
|
||||
// end of Ford Escort GT config
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,9 @@ void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
setCommonNTCSensor(&engineConfiguration->iat);
|
||||
engineConfiguration->iat.config.bias_resistor = 2700;
|
||||
|
||||
boardConfiguration->isSdCardEnabled = true;
|
||||
|
||||
|
||||
/**
|
||||
* oil pressure line
|
||||
* adc4/pa4/W47
|
||||
|
|
|
@ -85,7 +85,7 @@ static void sdStatistics(void) {
|
|||
printMmcPinout();
|
||||
scheduleMsg(&logger, "SD enabled: %s [%s]", boolToString(boardConfiguration->isSdCardEnabled),
|
||||
logName);
|
||||
scheduleMsg(&logger, "fs_ready=%d totalLoggedBytes=%d %d", fs_ready, totalLoggedBytes, logFileIndex);
|
||||
scheduleMsg(&logger, "fs_ready=%s totalLoggedBytes=%d", boolToString(fs_ready), totalLoggedBytes);
|
||||
}
|
||||
|
||||
static void incLogFileName(void) {
|
||||
|
@ -135,7 +135,7 @@ static void createLogFile(void) {
|
|||
memset(&FDLogFile, 0, sizeof(FIL)); // clear the memory
|
||||
strcpy(logName, RUSEFI_LOG_PREFIX);
|
||||
char *ptr = itoa10(&logName[3], logFileIndex);
|
||||
strcat(ptr, ".log");
|
||||
strcat(ptr, ".msl");
|
||||
|
||||
FRESULT err = f_open(&FDLogFile, logName, FA_OPEN_ALWAYS | FA_WRITE); // Create new file
|
||||
if (err != FR_OK && err != FR_EXIST) {
|
||||
|
|
|
@ -298,5 +298,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 20160503;
|
||||
return 20160505;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue