1
0
Fork 0
forked from len0rd/rockbox

sd-as3525v2.c Enable disk access icon.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25285 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jack Halpin 2010-03-22 06:09:14 +00:00
parent d2a264e7da
commit 2a75da37ae

View file

@ -23,6 +23,7 @@
#include "config.h" /* for HAVE_MULTIVOLUME */
#include "fat.h"
#include "thread.h"
#include "led.h"
#include "hotswap.h"
#include "system.h"
#include "kernel.h"
@ -735,6 +736,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
mutex_lock(&sd_mtx);
#ifndef BOOTLOADER
sd_enable(true);
led(true);
#endif
if (card_info[drive].initialized <= 0)
@ -846,6 +848,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
#ifndef BOOTLOADER
sd_enable(false);
led(false);
#endif
mutex_unlock(&sd_mtx);
return 0;