mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
fusee sdmmc: don't time out on long reads
This commit is contained in:
parent
9424510f8f
commit
7bfdf63a71
2 changed files with 5 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
#define CONSOLE_FG_COL 0xa0
|
||||
|
||||
/* Try using the small font */
|
||||
#define CONFIG_VIDEO_FONT_SMALL
|
||||
//#define CONFIG_VIDEO_FONT_SMALL
|
||||
|
||||
/*
|
||||
* Graphic Data Format (GDF) bits for VIDEO_DATA_FORMAT
|
||||
|
|
|
@ -1157,6 +1157,10 @@ static int sdmmc_wait_for_interrupt(struct mmc *mmc,
|
|||
|
||||
// Finally, EOI the relevant interrupt.
|
||||
mmc->regs->int_status |= fault_conditions;
|
||||
|
||||
// Reset the timebase, so it applies to the next
|
||||
// DMA interval.
|
||||
timebase = get_time();
|
||||
}
|
||||
|
||||
if (mmc->regs->int_status & target_irq)
|
||||
|
|
Loading…
Reference in a new issue