forked from len0rd/rockbox
cleanup storage defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3aa5832808
commit
19d1cacb1a
71 changed files with 142 additions and 114 deletions
|
|
@ -61,7 +61,7 @@
|
|||
#include "playlist.h"
|
||||
#include "yesno.h"
|
||||
|
||||
#ifdef HAVE_MMC
|
||||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
#include "ata_mmc.h"
|
||||
#endif
|
||||
#include "tree.h"
|
||||
|
|
@ -910,7 +910,7 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
|
|||
case SYS_USB_CONNECTED:
|
||||
if (callback != NULL)
|
||||
callback(parameter);
|
||||
#ifdef HAVE_MMC
|
||||
#if (CONFIG_STORAGE & STORAGE_MMC)
|
||||
if (!mmc_touched() ||
|
||||
(mmc_remove_request() == SYS_HOTSWAP_EXTRACTED))
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue