diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c b/firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c index dfb88d513e..e891b98eac 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c +++ b/firmware/target/arm/tms320dm320/creative-zvm/adc-creativezvm.c | |||
@@ -1,35 +1,35 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * __________ __ ___. | 2 | * __________ __ ___. |
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | * \/ \/ \/ \/ \/ | 7 | * \/ \/ \/ \/ \/ |
8 | * $Id: adc-mr500.c 14817 2007-09-22 15:43:38Z kkurbjun $ | 8 | * $Id: adc-mr500.c 14817 2007-09-22 15:43:38Z kkurbjun $ |
9 | * | 9 | * |
10 | * Copyright (C) 2007 by Karl Kurbjun | 10 | * Copyright (C) 2007 by Karl Kurbjun |
11 | * | 11 | * |
12 | * This program is free software; you can redistribute it and/or | 12 | * This program is free software; you can redistribute it and/or |
13 | * modify it under the terms of the GNU General Public License | 13 | * modify it under the terms of the GNU General Public License |
14 | * as published by the Free Software Foundation; either version 2 | 14 | * as published by the Free Software Foundation; either version 2 |
15 | * of the License, or (at your option) any later version. | 15 | * of the License, or (at your option) any later version. |
16 | * | 16 | * |
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | 17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
18 | * KIND, either express or implied. | 18 | * KIND, either express or implied. |
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include "cpu.h" | 22 | #include "cpu.h" |
23 | #include "adc.h" | 23 | #include "adc.h" |
24 | #include "adc-target.h" | 24 | #include "adc-target.h" |
25 | #include "kernel.h" | 25 | #include "kernel.h" |
26 | 26 | ||
27 | void adc_init(void) | 27 | void adc_init(void) |
28 | { | 28 | { |
29 | } | 29 | } |
30 | 30 | ||
31 | /* Called to get the recent ADC reading */ | 31 | /* Called to get the recent ADC reading */ |
32 | inline unsigned short adc_read(int channel) | 32 | inline unsigned short adc_read(int channel) |
33 | { | 33 | { |
34 | return (short)channel; | 34 | return (short)channel; |
35 | } | 35 | } |