From 61f1ab27ff93a70c3654d460d554cc6d7ab46fb3 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 19 Oct 2007 02:14:09 +0000 Subject: init spi and uart in the main build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/mrobe500.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bootloader') 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); -- cgit v1.2.3