summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2021-09-20 11:43:39 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2022-01-26 23:40:29 +0100
commited02786614b2fc4d20a47d51c76bed77d8f418a9 (patch)
tree5c28e894fbdfba27bf3ae128f744c3b99ad1b626
parent24507af1a99f66ded76e8796de5bae35c7c0b567 (diff)
stm32wb: use ADC_COMMON1 for consistent naming
-rw-r--r--adc/adc_f3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adc/adc_f3.h b/adc/adc_f3.h
index 194432d..a225ebf 100644
--- a/adc/adc_f3.h
+++ b/adc/adc_f3.h
@@ -56,7 +56,7 @@ static ADC_COMMON_t& ADC_COMMON1 = *(ADC_COMMON_t*)0x50000300;
static ADC_COMMON_t& ADC_COMMON3 = *(ADC_COMMON_t*)0x50000700;
#elif defined(STM32WB)
static ADC_t& ADC1 = *(ADC_t*)0x50040000;
-static ADC_COMMON_t& ADC_COMMON = *(ADC_COMMON_t*)0x50040300;
+static ADC_COMMON_t& ADC_COMMON1 = *(ADC_COMMON_t*)0x50040300;
#endif
#endif