auto-sync
This commit is contained in:
parent
eb7173ae47
commit
c62bd34b84
|
@ -37,9 +37,9 @@ EXTERN_ENGINE;
|
||||||
|
|
||||||
extern board_configuration_s *boardConfiguration;
|
extern board_configuration_s *boardConfiguration;
|
||||||
|
|
||||||
static USBDriver *ms_usb_driver = &USBD1;
|
//static USBDriver *ms_usb_driver = &USBD1;
|
||||||
static USBMassStorageDriver UMSD1;
|
//static USBMassStorageDriver UMSD1;
|
||||||
extern const USBConfig msd_usb_config;
|
//extern const USBConfig msd_usb_config;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -291,7 +291,7 @@ static void MMCmount(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (engineConfiguration->storageMode == MS_ALWAYS) {
|
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);
|
// 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;
|
// UMSD1.chp = NULL;
|
||||||
//
|
//
|
||||||
|
@ -357,8 +357,8 @@ void initMmcCard(void) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// // start to initialize MMC/SD
|
// // start to initialize MMC/SD
|
||||||
// mmcObjectInit(&MMCD1);
|
mmcObjectInit(&MMCD1);
|
||||||
// mmcStart(&MMCD1, &mmccfg);
|
mmcStart(&MMCD1, &mmccfg);
|
||||||
|
|
||||||
chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL);
|
chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL);
|
||||||
|
|
||||||
|
|
|
@ -298,5 +298,5 @@ int getRusEfiVersion(void) {
|
||||||
return 123; // this is here to make the compiler happy about the unused array
|
return 123; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||||
return 3211; // this is here to make the compiler happy about the unused array
|
return 3211; // this is here to make the compiler happy about the unused array
|
||||||
return 20160705;
|
return 20160706;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue