diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c index 4b1e1d9ccc..8cd0260fe4 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c | |||
@@ -95,10 +95,8 @@ void copy_read_sectors(unsigned char* buf, int wordcount) | |||
95 | 95 | ||
96 | //#define GIGABEAT_DEBUG_ATA | 96 | //#define GIGABEAT_DEBUG_ATA |
97 | #ifdef GIGABEAT_DEBUG_ATA | 97 | #ifdef GIGABEAT_DEBUG_ATA |
98 | static int line = 0; | 98 | static unsigned line = 0; |
99 | static char str[256]; | 99 | lcd_putsf(10, line, "ODD DMA to %08x, %d", buf, wordcount); |
100 | snprintf(str, sizeof(str), "ODD DMA to %08x, %d", buf, wordcount); | ||
101 | lcd_puts(10, line, str); | ||
102 | line = (line+1) % 32; | 100 | line = (line+1) % 32; |
103 | lcd_update(); | 101 | lcd_update(); |
104 | #endif | 102 | #endif |