summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-04-13 10:27:34 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-04-13 14:28:30 +0000
commitec4b5c794ee81de2f604cc67db2087fca2a90ac1 (patch)
tree548896adccaaa39e7d59d40503521b09fdf383d8 /firmware/target
parentc0a49d9bdf66f03b8de917395893886fd9222b35 (diff)
downloadrockbox-ec4b5c794ee81de2f604cc67db2087fca2a90ac1.tar.gz
rockbox-ec4b5c794ee81de2f604cc67db2087fca2a90ac1.zip
ibasso: Found a reliable way to determine if SD card is present at startup
Change-Id: If02788a50e141cc2e5b1a6cde2df2a5ef5713e30
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/hosted/ibasso/vold-ibasso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/ibasso/vold-ibasso.c b/firmware/target/hosted/ibasso/vold-ibasso.c
index c0cb06b6b8..e703ce0a1f 100644
--- a/firmware/target/hosted/ibasso/vold-ibasso.c
+++ b/firmware/target/hosted/ibasso/vold-ibasso.c
@@ -110,7 +110,7 @@ static void* vold_monitor_run(void* nothing)
/* Check to see if external SD is mounted */
// 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();
if(_vold_monitor_socket_fd < 0)