Remove duplicate define. Put all phy chip specific defines in its
[bertos.git] / bertos / cpu / cortex-m3 / drv / adc_sam3.h
index 1a6ca5322619165d551e0ad4b85a751e826cb239..f46f940fb27fd8e882f811a2d8ff4277ad84febc 100644 (file)
@@ -35,8 +35,8 @@
  * \author Daniele Basile <asterix@develer.com>
  */
 
-#ifndef DRV_ADC_AT91_H
-#define DRV_ADC_AT91_H
+#ifndef DRV_ADC_SAM3_H
+#define DRV_ADC_SAM3_H
 
 #include <hw/hw_cpufreq.h>
 
  */
 #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);
 void adc_hw_init(void);
 
-#endif /* DRV_ADC_AT91_H */
+#endif /* DRV_ADC_SAM3_H */