diff --git a/firmware/config/engines/ford_festiva.cpp b/firmware/config/engines/ford_festiva.cpp index 0d0e39cc93..237a68d081 100644 --- a/firmware/config/engines/ford_festiva.cpp +++ b/firmware/config/engines/ford_festiva.cpp @@ -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 } diff --git a/firmware/config/engines/mazda_miata_1_6.cpp b/firmware/config/engines/mazda_miata_1_6.cpp index 3c8cf21497..ea83d0016c 100644 --- a/firmware/config/engines/mazda_miata_1_6.cpp +++ b/firmware/config/engines/mazda_miata_1_6.cpp @@ -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 diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index 89d80e4bb4..9d17590a78 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -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) { diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index fcc3cab748..591237d745 100644 --- a/firmware/rusefi.cpp +++ b/firmware/rusefi.cpp @@ -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; }