diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-04-13 10:27:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-04-13 14:28:30 +0000 |
commit | ec4b5c794ee81de2f604cc67db2087fca2a90ac1 (patch) | |
tree | 548896adccaaa39e7d59d40503521b09fdf383d8 /firmware/target/hosted/ibasso/vold-ibasso.c | |
parent | c0a49d9bdf66f03b8de917395893886fd9222b35 (diff) | |
download | rockbox-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.c | 2 |
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) |