Oops, we should close the devices during the scan

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12217 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2007-02-06 22:48:30 +00:00
parent 2882b26a99
commit dd50c863e6

View file

@ -1265,6 +1265,7 @@ int ipod_scan(struct ipod_t* ipod)
}
n++;
strcpy(last_ipod,ipod->diskname);
ipod_close(ipod);
}
if (n==0) {