summaryrefslogtreecommitdiff
path: root/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c')
-rw-r--r--firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
index d098d83de0..5e0fd8429c 100644
--- a/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
+++ b/firmware/target/arm/gigabeat/meg-fx/ata-meg-fx.c
@@ -26,6 +26,7 @@
26#include "pcf50606.h" 26#include "pcf50606.h"
27#include "ata-target.h" 27#include "ata-target.h"
28#include "mmu-meg-fx.h" 28#include "mmu-meg-fx.h"
29#include "backlight-target.h"
29 30
30void ata_reset(void) 31void ata_reset(void)
31{ 32{
@@ -54,6 +55,8 @@ void ata_device_init(void)
54 55
55void copy_read_sectors(unsigned char* buf, int wordcount) 56void copy_read_sectors(unsigned char* buf, int wordcount)
56{ 57{
58 __buttonlight_flicker(DEFAULT_BRIGHTNESS_SETTING);
59
57 /* Unaligned transfer - slow copy */ 60 /* Unaligned transfer - slow copy */
58 if ( (unsigned long)buf & 1) 61 if ( (unsigned long)buf & 1)
59 { /* not 16-bit aligned, copy byte by byte */ 62 { /* not 16-bit aligned, copy byte by byte */