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 | |
parent | c0a49d9bdf66f03b8de917395893886fd9222b35 (diff) | |
download | rockbox-ec4b5c794e.tar.gz rockbox-ec4b5c794e.zip |
ibasso: Found a reliable way to determine if SD card is present at startup
Change-Id: If02788a50e141cc2e5b1a6cde2df2a5ef5713e30
-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) /* 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) |