*** empty log message ***

This commit is contained in:
Pascal Brisset
2007-10-13 08:16:06 +00:00
parent a147468d62
commit bd0f7724c7
+5 -3
View File
@@ -2,17 +2,19 @@
#include "adc.h"
#include CONFIG
#ifdef ADC_CHANNEL_GENERIC1
#ifdef USE_ADC_GENERIC
uint16_t adc_generic_val1;
uint16_t adc_generic_val2;
#endif
#ifdef ADC_CHANNEL_GENERIC1
static struct adc_buf buf_generic1;
#endif
#ifdef ADC_CHANNEL_GENERIC2
uint16_t adc_generic_val2;
static struct adc_buf buf_generic2;
#endif
void adc_generic_init( void ) {
#ifdef ADC_CHANNEL_GENERIC1
adc_buf_channel(ADC_CHANNEL_GENERIC1, &buf_generic1, ADC_CHANNEL_GENERIC_NB_SAMPLES);