summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440/debug-s3c2440.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2008-11-12 04:15:34 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2008-11-12 04:15:34 +0000
commit59d4d2025c9f1b0a68b780fe6a6f0e313caf3027 (patch)
tree600746fc28046ddfc58498fd69d4afef8d40e419 /firmware/target/arm/s3c2440/debug-s3c2440.c
parentd42041043b95617244ffdb9150c5e2f2720a8a83 (diff)
Revert last commit (accidentally committed the whole tree)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19095 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440/debug-s3c2440.c')
-rw-r--r--firmware/target/arm/s3c2440/debug-s3c2440.c39
1 files changed, 1 insertions, 38 deletions
diff --git a/firmware/target/arm/s3c2440/debug-s3c2440.c b/firmware/target/arm/s3c2440/debug-s3c2440.c
index 6cd6d649cf..97b7123a43 100644
--- a/firmware/target/arm/s3c2440/debug-s3c2440.c
+++ b/firmware/target/arm/s3c2440/debug-s3c2440.c
@@ -32,44 +32,7 @@
bool __dbg_hw_info(void)
{
- char buf[50];
- int line, button;
-
- char reg=0, value=0;
-
- lcd_clear_display();
- lcd_setfont(FONT_SYSFIXED);
-
- while(1)
- {
- line=0;
- snprintf(buf, sizeof(buf), "reg: %08x value: %08x", reg, value);
- lcd_puts(0, line++, buf);
-
- button = button_get_w_tmo(HZ/10);
-
- if (button == BUTTON_UP)
- reg++;
- if (button == BUTTON_DOWN)
- reg--;
-
- if (button == BUTTON_VOL_UP)
- value++;
- if (button == BUTTON_VOL_DOWN)
- value--;
-
- if (button == BUTTON_A)
- {
-// LCD_SPI_start();
-// LCD_SPI_setreg(reg, value);
-// LCD_SPI_stop();
- }
-
- lcd_update();
-
- if (button == (DEBUG_CANCEL|BUTTON_REL))
- return false;
- }
+ return false;
}
bool __dbg_ports(void)