From 201f5bcfb3fa70ee34818152463e7139f24db377 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 10 Oct 2024 21:47:39 +0000 Subject: [PATCH] stm32/dmamux: fix typo in EDGE Fixes: https://github.com/libopencm3/libopencm3/issues/1563 --- include/libopencm3/stm32/common/dmamux_common_all.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libopencm3/stm32/common/dmamux_common_all.h b/include/libopencm3/stm32/common/dmamux_common_all.h index 9e872739..c029e661 100644 --- a/include/libopencm3/stm32/common/dmamux_common_all.h +++ b/include/libopencm3/stm32/common/dmamux_common_all.h @@ -71,7 +71,7 @@ @{*/ #define DMAMUX_CxCR_SPOL_NO_EVENT 0 #define DMAMUX_CxCR_SPOL_RISING_EDGE 1 -#define DMAMUX_CxCR_SPOL_FALLING_EDEG 2 +#define DMAMUX_CxCR_SPOL_FALLING_EDGE 2 #define DMAMUX_CxCR_SPOL_BOTH_EDGES 3 /**@}*/ @@ -120,7 +120,7 @@ @{*/ #define DMAMUX_RGxCR_GPOL_NO_EVENT 0 #define DMAMUX_RGxCR_GPOL_RISING_EDGE 1 -#define DMAMUX_RGxCR_GPOL_FALLING_EDEG 2 +#define DMAMUX_RGxCR_GPOL_FALLING_EDGE 2 #define DMAMUX_RGxCR_GPOL_BOTH_EDGES 3 /**@}*/