aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gadc/AT91SAM7/gadc_lld_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gadc/AT91SAM7/gadc_lld_config.h')
-rw-r--r--drivers/gadc/AT91SAM7/gadc_lld_config.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gadc/AT91SAM7/gadc_lld_config.h b/drivers/gadc/AT91SAM7/gadc_lld_config.h
index ba6cbda2..de5af3d3 100644
--- a/drivers/gadc/AT91SAM7/gadc_lld_config.h
+++ b/drivers/gadc/AT91SAM7/gadc_lld_config.h
@@ -35,7 +35,7 @@
* @note For the AT91SAM7 ADC driver, it post-dates the finding of the bug so we safely
* say that the bug doesn't exist for this driver.
*/
-#define ADC_ISR_FULL_CODE_BUG FALSE
+#define CHIBIOS_ADC_ISR_FULL_CODE_BUG FALSE
/**
* @brief The maximum sample frequency supported by this CPU
@@ -43,11 +43,6 @@
#define GADC_MAX_SAMPLE_FREQUENCY 132000
/**
- * @brief The number of bits in a sample
- */
-#define GADC_BITS_PER_SAMPLE AT91_ADC1_RESOLUTION
-
-/**
* @brief The sample format
*/
#define GADC_SAMPLE_FORMAT ARRAY_DATA_10BITUNSIGNED