diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/debug-dm320.c')
-rwxr-xr-x | firmware/target/arm/tms320dm320/debug-dm320.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/tms320dm320/debug-dm320.c b/firmware/target/arm/tms320dm320/debug-dm320.c index 23257ddcc6..894f99c88d 100755 --- a/firmware/target/arm/tms320dm320/debug-dm320.c +++ b/firmware/target/arm/tms320dm320/debug-dm320.c | |||
@@ -34,7 +34,7 @@ bool __dbg_ports(void) | |||
34 | return false; | 34 | return false; |
35 | } | 35 | } |
36 | 36 | ||
37 | #ifndef CREATIVE_ZVM | 37 | #ifndef CREATIVE_ZVx |
38 | extern char r_buffer[5]; | 38 | extern char r_buffer[5]; |
39 | extern int r_button; | 39 | extern int r_button; |
40 | #endif | 40 | #endif |
@@ -42,7 +42,7 @@ bool __dbg_hw_info(void) | |||
42 | { | 42 | { |
43 | int line = 0, oldline; | 43 | int line = 0, oldline; |
44 | int button; | 44 | int button; |
45 | #ifndef CREATIVE_ZVM | 45 | #ifndef CREATIVE_ZVx |
46 | int *address=0x0; | 46 | int *address=0x0; |
47 | #endif | 47 | #endif |
48 | bool done=false; | 48 | bool done=false; |
@@ -103,14 +103,14 @@ bool __dbg_hw_info(void) | |||
103 | lcd_puts(0, line++, " Unknown DM320 Chip ID"); | 103 | lcd_puts(0, line++, " Unknown DM320 Chip ID"); |
104 | } | 104 | } |
105 | 105 | ||
106 | #ifndef CREATIVE_ZVM | 106 | #ifndef CREATIVE_ZVx |
107 | line++; | 107 | line++; |
108 | #endif | 108 | #endif |
109 | oldline=line; | 109 | oldline=line; |
110 | while(!done) | 110 | while(!done) |
111 | { | 111 | { |
112 | line = oldline; | 112 | line = oldline; |
113 | #ifndef CREATIVE_ZVM | 113 | #ifndef CREATIVE_ZVx |
114 | button = button_get(false); | 114 | button = button_get(false); |
115 | button&=~BUTTON_REPEAT; | 115 | button&=~BUTTON_REPEAT; |
116 | if (button == BUTTON_POWER) | 116 | if (button == BUTTON_POWER) |
@@ -145,7 +145,7 @@ bool __dbg_hw_info(void) | |||
145 | lcd_puts(0, line++, "[Rockbox info]"); | 145 | lcd_puts(0, line++, "[Rockbox info]"); |
146 | snprintf(buf, sizeof(buf), "current tick: %08x Seconds running: %08d", | 146 | snprintf(buf, sizeof(buf), "current tick: %08x Seconds running: %08d", |
147 | (unsigned int)current_tick, (unsigned int)current_tick/100); lcd_puts(0, line++, buf); | 147 | (unsigned int)current_tick, (unsigned int)current_tick/100); lcd_puts(0, line++, buf); |
148 | #ifndef CREATIVE_ZVM | 148 | #ifndef CREATIVE_ZVx |
149 | snprintf(buf, sizeof(buf), "Address: 0x%08x Data: 0x%08x", | 149 | snprintf(buf, sizeof(buf), "Address: 0x%08x Data: 0x%08x", |
150 | (unsigned int)address, *address); lcd_puts(0, line++, buf); | 150 | (unsigned int)address, *address); lcd_puts(0, line++, buf); |
151 | snprintf(buf, sizeof(buf), "Address: 0x%08x Data: 0x%08x", | 151 | snprintf(buf, sizeof(buf), "Address: 0x%08x Data: 0x%08x", |