diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 3 |
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 @@ | |||
23 | #include "config.h" /* for HAVE_MULTIVOLUME */ | 23 | #include "config.h" /* for HAVE_MULTIVOLUME */ |
24 | #include "fat.h" | 24 | #include "fat.h" |
25 | #include "thread.h" | 25 | #include "thread.h" |
26 | #include "led.h" | ||
26 | #include "hotswap.h" | 27 | #include "hotswap.h" |
27 | #include "system.h" | 28 | #include "system.h" |
28 | #include "kernel.h" | 29 | #include "kernel.h" |
@@ -735,6 +736,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start, | |||
735 | mutex_lock(&sd_mtx); | 736 | mutex_lock(&sd_mtx); |
736 | #ifndef BOOTLOADER | 737 | #ifndef BOOTLOADER |
737 | sd_enable(true); | 738 | sd_enable(true); |
739 | led(true); | ||
738 | #endif | 740 | #endif |
739 | 741 | ||
740 | if (card_info[drive].initialized <= 0) | 742 | if (card_info[drive].initialized <= 0) |
@@ -846,6 +848,7 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start, | |||
846 | 848 | ||
847 | #ifndef BOOTLOADER | 849 | #ifndef BOOTLOADER |
848 | sd_enable(false); | 850 | sd_enable(false); |
851 | led(false); | ||
849 | #endif | 852 | #endif |
850 | mutex_unlock(&sd_mtx); | 853 | mutex_unlock(&sd_mtx); |
851 | return 0; | 854 | return 0; |