1
0
Fork 0
forked from len0rd/rockbox

cleanup storage defines

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Frank Gevaerts 2008-10-31 21:25:04 +00:00
parent 3aa5832808
commit 19d1cacb1a
71 changed files with 142 additions and 114 deletions

View file

@ -1044,7 +1044,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split,
case LOOP_MODE_TO:
rb->audio_pause();
rb->audio_ff_rewind(range_start);
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
/* MMC is slow - wait some time to allow track reload to finish */
rb->sleep(HZ/20);
if (mp3->elapsed > play_end) /* reload in progress */
@ -1056,7 +1056,7 @@ unsigned long splitedit_editor(struct mp3entry * mp3_to_split,
case LOOP_MODE_FROM:
rb->audio_pause();
rb->audio_ff_rewind(xpos_to_time(split_x));
#ifdef HAVE_MMC
#if (CONFIG_STORAGE & STORAGE_MMC)
/* MMC is slow - wait some time to allow track reload to finish */
rb->sleep(HZ/20);
if (mp3->elapsed > play_end) /* reload in progress */