X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Fadc_sam3.h;h=6c31a70023f8886e05435e0f6d11d437bef320b6;hb=f81df2ee3de292493462ee9d0a8905eaafb57243;hp=1a6ca5322619165d551e0ad4b85a751e826cb239;hpb=be43ace1f2758b563501428e6a9876b9a3129a48;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/adc_sam3.h b/bertos/cpu/cortex-m3/drv/adc_sam3.h index 1a6ca532..6c31a700 100644 --- a/bertos/cpu/cortex-m3/drv/adc_sam3.h +++ b/bertos/cpu/cortex-m3/drv/adc_sam3.h @@ -56,7 +56,6 @@ */ #define ADC_PRESCALER (DIV_ROUNDUP(CPU_FREQ, 2 * CONFIG_ADC_CLOCK) - 1) #define ADC_CLOCK (CPU_FREQ / ((ADC_PRESCALER + 1) * 2)) -#define ADC_STARTUPTIME (((CONFIG_ADC_STARTUP_TIME * ADC_COMPUTED_CLOCK) / 8000000UL) - 1) void adc_hw_select_ch(uint8_t ch); uint16_t adc_hw_read(void);