From 6b40e9777e2da6d718e6b2c0fe905b3a7605aaa2 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 8 Mar 2018 10:56:45 +0000 Subject: [PATCH] stm32f1: bkp: fix typo in CR_TPAL register Even original documentation had the full TPAL matching the ref man bit descriptions. Reported-by: _ami_ on irc. --- include/libopencm3/stm32/f1/bkp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libopencm3/stm32/f1/bkp.h b/include/libopencm3/stm32/f1/bkp.h index 3d36a1f4..ca528f4e 100644 --- a/include/libopencm3/stm32/f1/bkp.h +++ b/include/libopencm3/stm32/f1/bkp.h @@ -174,7 +174,7 @@ /* --- BKP_CR values ------------------------------------------------------- */ /* TPAL: TAMPER pin active level */ -#define BKP_CR_TAL (1 << 1) +#define BKP_CR_TPAL (1 << 1) /* TPE: TAMPER pin enable */ #define BKP_CR_TPE (1 << 0)