diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-14 08:54:54 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-14 08:54:54 +0000 |
commit | 8a6291dd63063bea12805a41fd43f13c17aa2be5 (patch) | |
tree | da36f06943a24c9eb02e533fac3a825bd0f8e7d1 /firmware/target/coldfire/iaudio/m3/adc-m3.c | |
parent | 422454c87dda5d2766788d3a5a9c1a0544da9e84 (diff) | |
download | rockbox-8a6291dd63063bea12805a41fd43f13c17aa2be5.tar.gz rockbox-8a6291dd63063bea12805a41fd43f13c17aa2be5.zip |
More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/iaudio/m3/adc-m3.c')
-rw-r--r-- | firmware/target/coldfire/iaudio/m3/adc-m3.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/m3/adc-m3.c b/firmware/target/coldfire/iaudio/m3/adc-m3.c new file mode 100644 index 0000000000..c4f8d92ae1 --- /dev/null +++ b/firmware/target/coldfire/iaudio/m3/adc-m3.c | |||
@@ -0,0 +1,32 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2008 by Jens Arnold | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #include "config.h" | ||
21 | #include "cpu.h" | ||
22 | #include "system.h" | ||
23 | #include "kernel.h" | ||
24 | #include "thread.h" | ||
25 | #include "adc.h" | ||
26 | |||
27 | unsigned short adc_scan(int channel) | ||
28 | { | ||
29 | /* TODO */ | ||
30 | (void)channel; | ||
31 | return 0xff; | ||
32 | } | ||