summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-10-19 02:14:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-10-19 02:14:09 +0000
commit61f1ab27ff93a70c3654d460d554cc6d7ab46fb3 (patch)
tree5439843e8739979ad92eb50e46ac09ec13115105 /bootloader
parent2640bdb262d07bf910a6ff614834d73713bdf4a4 (diff)
init spi and uart in the main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rwxr-xr-xbootloader/mrobe500.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c
index c051e54fb6..75e1ae4316 100755
--- a/bootloader/mrobe500.c
+++ b/bootloader/mrobe500.c
@@ -127,9 +127,10 @@ void mrdebug(void)
else if (button==BUTTON_RC_REW)
address-=0x1000;
{
+ extern int irq_count;
short x,y,z1,z2;
tsc2100_read_values(&x, &y, &z1, &z2);
- printf("x: %04x y: %04x z1: %04x z2: %04x", x, y, z1, z2);
+ printf("%d, x: %04x y: %04x z1: %04x z2: %04x", irq_count,x, y, z1, z2);
printf("tsadc: %4x", tsc2100_readreg(TSADC_PAGE, TSADC_ADDRESS)&0xffff);
printf("current tick: %04x", current_tick);
printf("Address: 0x%08x Data: 0x%08x", address, *address);
@@ -167,10 +168,8 @@ void main(void)
adc_init();
button_init();
backlight_init();
- uart_init();
font_init();
- spi_init();
lcd_setfont(FONT_SYSFIXED);