summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ibasso/vold-ibasso.c
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/hosted/ibasso/vold-ibasso.c
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/hosted/ibasso/vold-ibasso.c')
-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)
110 110
111 /* Check to see if external SD is mounted */ 111 /* Check to see if external SD is mounted */
112// extsd_present = !system("mountpoint -q /mnt/external_sd"); 112// extsd_present = !system("mountpoint -q /mnt/external_sd");
113// extsd_present = !system("mount -o remount,rw /mnt/external_sd"); 113 extsd_present = !system("mount -o remount,rw /mnt/external_sd");
114 114
115 vold_monitor_open_socket(); 115 vold_monitor_open_socket();
116 if(_vold_monitor_socket_fd < 0) 116 if(_vold_monitor_socket_fd < 0)