diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 20:41:49 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2011-02-06 20:41:49 +0000 |
commit | f65365fc75889bb7e3640f5a9131c83a5ba10ad6 (patch) | |
tree | 5795579488a23a9854165f70b8c0c7271c21591b /firmware/target/arm | |
parent | e932ceb78ab2ba5984147f94a0d223c56e4be6b5 (diff) | |
download | rockbox-f65365fc75889bb7e3640f5a9131c83a5ba10ad6.tar.gz rockbox-f65365fc75889bb7e3640f5a9131c83a5ba10ad6.zip |
M:Robe 500 ADC: Remove pin initializations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c | 12 |
1 files changed, 2 insertions, 10 deletions
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); } |