diff options
author | Christian Pointner <equinox@mur.at> | 2012-05-20 02:17:25 +0000 |
---|---|---|
committer | Christian Pointner <equinox@mur.at> | 2012-05-20 02:17:25 +0000 |
commit | 4cff703b53bd28846a0691506b6f6c5ddb980d6e (patch) | |
tree | 58113c23d9812386d3071e941de558eef81f1584 /software/hhd70dongle/util.h | |
parent | ../.. (diff) |
fixed adc read ???
git-svn-id: https://svn.spreadspace.org/mur.sat@448 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/util.h')
-rw-r--r-- | software/hhd70dongle/util.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/software/hhd70dongle/util.h b/software/hhd70dongle/util.h index 1c4cb21..20068fd 100644 --- a/software/hhd70dongle/util.h +++ b/software/hhd70dongle/util.h @@ -32,13 +32,12 @@ #ifndef MURSAT_util_h_INCLUDED #define MURSAT_util_h_INCLUDED -#define ADC_PRESCALER 0 -#define ADCMUX_INTERNALTEMP 0b100111 -#define ADCMUX_ADC12 0b100100 +#define ADCMUX_INTERNALTEMP 0b00100111 +#define ADCMUX_ADC12 0b00100100 void reset(void); -int16_t adc_read(uint8_t mux); +uint8_t adc_read(uint8_t mux); void debug_sprint_int16hex(uint8_t *buffer, int16_t num); #endif |