aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-03-16 15:47:11 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-03-16 15:47:11 +0000
commitbff3b1b8952403052cef7cdb6c12d41a3208a6f9 (patch)
treebb6440a8d770516b5c0347ef7e6027a42736f49c /os
parentb69a36edd22a1aa2c97cc79a71071a009fb87c29 (diff)
downloadChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.tar.gz
ChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.tar.bz2
ChibiOS-bff3b1b8952403052cef7cdb6c12d41a3208a6f9.zip
Fixed bug #1020.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12697 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
index 9ca51f5b9..7568ccc59 100644
--- a/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
+++ b/os/hal/ports/STM32/LLD/GPIOv3/hal_pal_lld.c
@@ -31,7 +31,7 @@
/*===========================================================================*/
/* Handling a difference in ST headers.*/
-#if defined(STM32L4XX)
+#if defined(STM32L4XX) || defined(STM32L4XXP)
#define EMR EMR1
#define IMR IMR1
#define PR PR1