From 070058f80cd10e91b4090c94ef533a8ccc714845 Mon Sep 17 00:00:00 2001 From: Guillaume Revaillot Date: Fri, 8 Nov 2019 15:24:53 +0100 Subject: [PATCH] stm32: adc: doc fix declare chselr group in v2 single header, where adc_chselr reg is declared --- include/libopencm3/stm32/common/adc_common_v2_single.h | 2 +- include/libopencm3/stm32/g0/adc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libopencm3/stm32/common/adc_common_v2_single.h b/include/libopencm3/stm32/common/adc_common_v2_single.h index 060e03cc..32616cf4 100644 --- a/include/libopencm3/stm32/common/adc_common_v2_single.h +++ b/include/libopencm3/stm32/common/adc_common_v2_single.h @@ -68,7 +68,7 @@ specific memorymap.h header before including this header file.*/ /**@}*/ /* ADC_CHSELR Values --------------------------------------------------------*/ -/** @addtogroup adc_chselr +/** @defgroup adc_chselr CHSELR ADC Channel Selection register @{*/ #define ADC_CHSELR_CHSEL(x) (1 << (x)) /**@}*/ diff --git a/include/libopencm3/stm32/g0/adc.h b/include/libopencm3/stm32/g0/adc.h index b00c59ca..b40e32b5 100644 --- a/include/libopencm3/stm32/g0/adc.h +++ b/include/libopencm3/stm32/g0/adc.h @@ -234,7 +234,7 @@ /**@}*/ -/** @addtogroup adc_chselr CHSELR ADC Channel Selection register +/** @addtogroup adc_chselr @{*/ /** ADC_CHSELR_MAX_CHANNELS Maximum number of channel in regular sequence */