aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2019-10-02 16:27:12 +0200
committerGitHub <noreply@github.com>2019-10-02 16:27:12 +0200
commit51910c3551c2a4232ba3defcef063e2f745f925a (patch)
tree3991c377dbb51eba6292303761a847471efd9879 /os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
parent29cdd11f63aaf8ee856551bb6a02f3486bc756ba (diff)
parentc71108e2806c8a6f10f670c5b8642a26fa28b89c (diff)
downloadChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.gz
ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.tar.bz2
ChibiOS-Contrib-51910c3551c2a4232ba3defcef063e2f745f925a.zip
Merge pull request #197 from ChibiOS/fixes-19.1
Updates for 19.1.x compatibliity
Diffstat (limited to 'os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c')
-rw-r--r--os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c b/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
index b1dde2f..a54290e 100644
--- a/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
+++ b/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
@@ -303,7 +303,7 @@ void comp_ext_lld_channel_enable(COMPDriver *compp, uint32_t channel) {
if (channel < 32) {
#endif
/* Masked out lines must not be touched by this driver.*/
- if ((cmask & STM32_EXTI_IMR_MASK) != 0U) {
+ if ((cmask & STM32_EXTI_IMR1_MASK) != 0U) {
return;
}