mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
ibasso: Found a reliable way to determine if SD card is present at startup
Change-Id: If02788a50e141cc2e5b1a6cde2df2a5ef5713e30
This commit is contained in:
parent
c0a49d9bdf
commit
ec4b5c794e
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ static void* vold_monitor_run(void* nothing)
|
||||||
|
|
||||||
/* Check to see if external SD is mounted */
|
/* Check to see if external SD is mounted */
|
||||||
// extsd_present = !system("mountpoint -q /mnt/external_sd");
|
// extsd_present = !system("mountpoint -q /mnt/external_sd");
|
||||||
// extsd_present = !system("mount -o remount,rw /mnt/external_sd");
|
extsd_present = !system("mount -o remount,rw /mnt/external_sd");
|
||||||
|
|
||||||
vold_monitor_open_socket();
|
vold_monitor_open_socket();
|
||||||
if(_vold_monitor_socket_fd < 0)
|
if(_vold_monitor_socket_fd < 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue