diff options
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 6095bcd65e..a514f8f0b4 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -88,7 +88,7 @@ static void usb_enable(bool on) | |||
88 | if(on) | 88 | if(on) |
89 | { | 89 | { |
90 | #ifdef HAVE_MMC | 90 | #ifdef HAVE_MMC |
91 | mmc_select_clock(mmc_detect() ? 1 : 0); | 91 | mmc_enable_int_flash_clock(!mmc_detect()); |
92 | #endif | 92 | #endif |
93 | if (!(read_hw_mask() & MMC_CLOCK_POLARITY)) | 93 | if (!(read_hw_mask() & MMC_CLOCK_POLARITY)) |
94 | and_b(~0x20, &PBDRH); /* old circuit needs SCK1 = low while on USB */ | 94 | and_b(~0x20, &PBDRH); /* old circuit needs SCK1 = low while on USB */ |