From 14a651cda0bd8dfb992d2a6a1544300c39492ca3 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sat, 21 Nov 2020 01:25:26 -0700 Subject: Implemented DMA abstraction in the peri/dma.c source file. This abstraction makes it much more intuitive to use the DMA features on the STM32L4 boards. --- 02-usart/include/core/usart.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '02-usart/include/core/usart.h') diff --git a/02-usart/include/core/usart.h b/02-usart/include/core/usart.h index 667b931..8d841df 100644 --- a/02-usart/include/core/usart.h +++ b/02-usart/include/core/usart.h @@ -8,8 +8,8 @@ #include "rcc.h" #include -#define USART1 (* (__IO usart_t*) USART1_BASE) -#define USART2 (* (__IO usart_t*) USART2_BASE) +#define USART1 (* (usart_t*) USART1_BASE) +#define USART2 (* (usart_t*) USART2_BASE) /* * Possible USART clock sources. -- cgit