auto-sync
This commit is contained in:
parent
b40e3f4e49
commit
4a26634d88
|
@ -278,7 +278,6 @@ static void MMCmount(void) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// start to initialize MMC/SD
|
// start to initialize MMC/SD
|
||||||
mmcObjectInit(&MMCD1); // Initializes an instance.
|
|
||||||
mmcStart(&MMCD1, &mmccfg); // Configures and activates the MMC peripheral.
|
mmcStart(&MMCD1, &mmccfg); // Configures and activates the MMC peripheral.
|
||||||
|
|
||||||
// Performs the initialization procedure on the inserted card.
|
// 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
|
* FYI: SPI does not work with CCM memory, be sure to have main() stack in RAM, not in CCMRAM
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// // start to initialize MMC/SD
|
// start to initialize MMC/SD
|
||||||
mmcObjectInit(&MMCD1);
|
mmcObjectInit(&MMCD1); // Initializes an instance.
|
||||||
mmcStart(&MMCD1, &mmccfg);
|
mmcStart(&MMCD1, &mmccfg);
|
||||||
|
|
||||||
chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL);
|
chThdCreateStatic(mmcThreadStack, sizeof(mmcThreadStack), LOWPRIO, (tfunc_t) MMCmonThread, NULL);
|
||||||
|
|
Loading…
Reference in New Issue