From 99337cda9cb387fb8e329b2302d6b65b6b87958b Mon Sep 17 00:00:00 2001 From: Joshua DeWeese Date: Thu, 18 May 2023 16:09:19 -0400 Subject: [PATCH] cpu/stm32: fix incorrect doc The doxygen doc for `periph_lpclk_dis()` and `periph_clk_dis()` we flip-flopped. This patch corrects this. --- cpu/stm32/include/periph/cpu_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/stm32/include/periph/cpu_common.h b/cpu/stm32/include/periph/cpu_common.h index eb7cb9b518..527f6c9f5c 100644 --- a/cpu/stm32/include/periph/cpu_common.h +++ b/cpu/stm32/include/periph/cpu_common.h @@ -144,7 +144,7 @@ void periph_clk_en(bus_t bus, uint32_t mask); * @param[in] bus bus the peripheral is connected to * @param[in] mask bit in the RCC enable register */ -void periph_lpclk_dis(bus_t bus, uint32_t mask); +void periph_clk_dis(bus_t bus, uint32_t mask); /** * @brief Enable the given peripheral clock in low power mode @@ -160,7 +160,7 @@ void periph_lpclk_en(bus_t bus, uint32_t mask); * @param[in] bus bus the peripheral is connected to * @param[in] mask bit in the RCC enable register */ -void periph_clk_dis(bus_t bus, uint32_t mask); +void periph_lpclk_dis(bus_t bus, uint32_t mask); #ifdef __cplusplus }