From c62bd34b8411453971eab0112dcba9324a4551a0 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Thu, 7 Jul 2016 00:05:28 -0400 Subject: [PATCH] auto-sync --- firmware/hw_layer/mmc_card.cpp | 12 ++++++------ firmware/rusefi.cpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/firmware/hw_layer/mmc_card.cpp b/firmware/hw_layer/mmc_card.cpp index 1a2fccfa01..addca5793c 100644 --- a/firmware/hw_layer/mmc_card.cpp +++ b/firmware/hw_layer/mmc_card.cpp @@ -37,9 +37,9 @@ EXTERN_ENGINE; extern board_configuration_s *boardConfiguration; -static USBDriver *ms_usb_driver = &USBD1; -static USBMassStorageDriver UMSD1; -extern const USBConfig msd_usb_config; +//static USBDriver *ms_usb_driver = &USBD1; +//static USBMassStorageDriver UMSD1; +//extern const USBConfig msd_usb_config; @@ -291,7 +291,7 @@ static void MMCmount(void) { } if (engineConfiguration->storageMode == MS_ALWAYS) { - BaseBlockDevice *bbdp = (BaseBlockDevice*)&MMCD1; +// BaseBlockDevice *bbdp = (BaseBlockDevice*)&MMCD1; // const usb_msd_driver_state_t msd_driver_state = msdInit(ms_usb_driver, bbdp, &UMSD1, USB_MS_DATA_EP, USB_MSD_INTERFACE_NUMBER); // UMSD1.chp = NULL; // @@ -357,8 +357,8 @@ void initMmcCard(void) { */ // // start to initialize MMC/SD -// mmcObjectInit(&MMCD1); -// mmcStart(&MMCD1, &mmccfg); + mmcObjectInit(&MMCD1); + mmcStart(&MMCD1, &mmccfg); chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL); diff --git a/firmware/rusefi.cpp b/firmware/rusefi.cpp index 1562921b11..92745fb3da 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 20160705; + return 20160706; }