auto-sync

This commit is contained in:
rusEfi 2016-07-07 10:01:47 -04:00
parent b40e3f4e49
commit 4a26634d88
1 changed files with 2 additions and 3 deletions

View File

@ -278,7 +278,6 @@ static void MMCmount(void) {
return;
}
// start to initialize MMC/SD
mmcObjectInit(&MMCD1); // Initializes an instance.
mmcStart(&MMCD1, &mmccfg); // Configures and activates the MMC peripheral.
// Performs the initialization procedure on the inserted card.
@ -356,8 +355,8 @@ void initMmcCard(void) {
* FYI: SPI does not work with CCM memory, be sure to have main() stack in RAM, not in CCMRAM
*/
// // start to initialize MMC/SD
mmcObjectInit(&MMCD1);
// start to initialize MMC/SD
mmcObjectInit(&MMCD1); // Initializes an instance.
mmcStart(&MMCD1, &mmccfg);
chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL);