diff options
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/disk.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 3d4dd3dc1d..c6200ba286 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -104,7 +104,7 @@ int disk_mount_all(void) int mounted; int i; -#ifdef HAVE_MMC +#if defined(HAVE_MMC) || defined(HAVE_HOTSWAP) card_enable_monitoring(false); #endif @@ -118,10 +118,9 @@ int disk_mount_all(void) { mounted += disk_mount(1); /* try 2nd "drive", too */ } -#ifdef HAVE_MMC + card_enable_monitoring(true); #endif -#endif return mounted; } |