1
0
Fork 0
forked from len0rd/rockbox

XduooX3: Uncomment code that prevented hotswap from working.

Change-Id: I5efec00e60aacf05166407ad43b9d63340e18967
This commit is contained in:
Solomon Peachy 2019-07-29 11:12:30 -04:00
parent 138a4f9d3d
commit 83963fcb15

View file

@ -1434,8 +1434,8 @@ int sd_event(long id, intptr_t data)
* clear if the last attempt to init failed with an error. */
mutex_lock(&sd_mtx); /* lock-out card activity */
card[data].initialized = 0;
// if (id == SYS_HOTSWAP_INSERTED)
// sd_init_device(data);
if (id == SYS_HOTSWAP_INSERTED)
sd_init_device(data);
mutex_unlock(&sd_mtx);
break;
#endif /* HAVE_HOTSWAP */