diff options
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 |