From 9193d3d27376e337348685a402033e09cbb5ef35 Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Fri, 15 Feb 2013 16:14:30 -0800 Subject: [PATCH] Fixes #93 copypasta error in RCC_CSR_BORRSTF definition. --- include/libopencm3/stm32/f2/rcc.h | 2 +- include/libopencm3/stm32/f4/rcc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libopencm3/stm32/f2/rcc.h b/include/libopencm3/stm32/f2/rcc.h index 4ffa2427..1af6ccfb 100644 --- a/include/libopencm3/stm32/f2/rcc.h +++ b/include/libopencm3/stm32/f2/rcc.h @@ -426,7 +426,7 @@ #define RCC_CSR_SFTRSTF (1 << 28) #define RCC_CSR_PORRSTF (1 << 27) #define RCC_CSR_PINRSTF (1 << 26) -#define RCC_CSR_BORRSTF (1 << 26) +#define RCC_CSR_BORRSTF (1 << 25) #define RCC_CSR_RMVF (1 << 24) #define RCC_CSR_LSIRDY (1 << 1) #define RCC_CSR_LSION (1 << 0) diff --git a/include/libopencm3/stm32/f4/rcc.h b/include/libopencm3/stm32/f4/rcc.h index 16885841..a7189032 100644 --- a/include/libopencm3/stm32/f4/rcc.h +++ b/include/libopencm3/stm32/f4/rcc.h @@ -427,7 +427,7 @@ #define RCC_CSR_SFTRSTF (1 << 28) #define RCC_CSR_PORRSTF (1 << 27) #define RCC_CSR_PINRSTF (1 << 26) -#define RCC_CSR_BORRSTF (1 << 26) +#define RCC_CSR_BORRSTF (1 << 25) #define RCC_CSR_RMVF (1 << 24) #define RCC_CSR_LSIRDY (1 << 1) #define RCC_CSR_LSION (1 << 0)