summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJack Halpin <jack.halpin@gmail.com>2010-03-22 06:09:14 +0000
committerJack Halpin <jack.halpin@gmail.com>2010-03-22 06:09:14 +0000
commit2a75da37ae583c06f0cd6a612795d17a7fde658a (patch)
tree33a13c6591880bbe6c7228d0544ccc366bf96340 /firmware
parentd2a264e7dae9f716dfbf8e6b2167e461d1a6bf5a (diff)
sd-as3525v2.c Enable disk access icon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25285 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 2fec4d9404..ad55a15b5d 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -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;