forked from len0rd/rockbox
XduooX3: Uncomment code that prevented hotswap from working.
Change-Id: I5efec00e60aacf05166407ad43b9d63340e18967
This commit is contained in:
parent
138a4f9d3d
commit
83963fcb15
1 changed files with 2 additions and 2 deletions
|
|
@ -1434,8 +1434,8 @@ int sd_event(long id, intptr_t data)
|
||||||
* clear if the last attempt to init failed with an error. */
|
* clear if the last attempt to init failed with an error. */
|
||||||
mutex_lock(&sd_mtx); /* lock-out card activity */
|
mutex_lock(&sd_mtx); /* lock-out card activity */
|
||||||
card[data].initialized = 0;
|
card[data].initialized = 0;
|
||||||
// if (id == SYS_HOTSWAP_INSERTED)
|
if (id == SYS_HOTSWAP_INSERTED)
|
||||||
// sd_init_device(data);
|
sd_init_device(data);
|
||||||
mutex_unlock(&sd_mtx);
|
mutex_unlock(&sd_mtx);
|
||||||
break;
|
break;
|
||||||
#endif /* HAVE_HOTSWAP */
|
#endif /* HAVE_HOTSWAP */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue