From 764fbed9c8b5e1ae2b5bf1a5f1e45c8349e3e52d Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 25 Jun 2019 09:38:42 +0000 Subject: [PATCH] doc: efm32: dac: fix up mising tags on common file --- include/libopencm3/efm32/common/dac_common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/libopencm3/efm32/common/dac_common.h b/include/libopencm3/efm32/common/dac_common.h index ff07d4fa..d77bd751 100644 --- a/include/libopencm3/efm32/common/dac_common.h +++ b/include/libopencm3/efm32/common/dac_common.h @@ -1,3 +1,5 @@ +/** @addtogroup dac_defines + */ /* * This file is part of the libopencm3 project. * @@ -17,13 +19,14 @@ * along with this library. If not, see . */ -#ifndef LIBOPENCM3_EFM32_DAC_H -#define LIBOPENCM3_EFM32_DAC_H +#pragma once #include #include #include +/**@{*/ + #define DAC_CTRL(base) MMIO32((base) + 0x00) #define DAC_STATUS(base) MMIO32((base) + 0x04) #define DAC_CHx_CTRL(base, x) MMIO32((base) + 0x08 + (0x04 * (x))) @@ -508,5 +511,4 @@ void dac_disable_channel(uint32_t dac_base, enum dac_ch ch); END_DECLS -#endif - +/**@}*/ \ No newline at end of file