From f65365fc75889bb7e3640f5a9131c83a5ba10ad6 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sun, 6 Feb 2011 20:41:49 +0000 Subject: M:Robe 500 ADC: Remove pin initializations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29230 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'firmware/target/arm') diff --git a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c index 11153f10d0..ba85749bad 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c +++ b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c @@ -33,15 +33,7 @@ void adc_init(void) * touchscreen does not work, audio has not been tested, but it is * expected that is will also not work when low. */ - - /* Setup touchscreen (tsc2100) pins: - * 14 - input, touchscreen irq - * 15 - output, touchscreen nPWD? */ - /* 14: input , non-inverted, irq, falling edge, no-chat, normal */ - dm320_set_io(14, true, false, true, false, false, 0x00); - - /* 15: output, non-inverted, no-irq, falling edge, no-chat, normal */ - dm320_set_io(15, false, false, false, false, false, 0x00); + IO_GIO_BITSET0 = (1<<15); /* Turn on TSC2100 */ /* Initialize the touchscreen and the battery readout */ @@ -64,6 +56,6 @@ void GIO14(void) tsc2100_read_data(); /* Stop the scan, firmware will initiate another scan with a mode set */ - tsc2100_set_mode(true, 0x00); + tsc2100_set_mode(true, 0x00); } -- cgit v1.2.3