From ec4b5c794ee81de2f604cc67db2087fca2a90ac1 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Tue, 13 Apr 2021 10:27:34 -0400 Subject: ibasso: Found a reliable way to determine if SD card is present at startup Change-Id: If02788a50e141cc2e5b1a6cde2df2a5ef5713e30 --- firmware/target/hosted/ibasso/vold-ibasso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3