aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian@gmail.com>2019-10-02 15:31:37 -0300
committerDiego Ismirlian <dismirlian@gmail.com>2019-10-02 15:31:37 -0300
commitd77e8fbd524e6c3ff67769623276419f7a8d14ba (patch)
treefd6ff77aae129045d1b1f9a5c90795fa53b7bc55 /os/hal/ports/STM32/LLD/COMPv1/hal_comp_lld.c
parentce48812834ed2835adc80da7fa6dc463d310774e (diff)
parent2cd41f99df0fc857afaef091ca3b984a728d0e3c (diff)
downloadChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.tar.gz
ChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.tar.bz2
ChibiOS-Contrib-d77e8fbd524e6c3ff67769623276419f7a8d14ba.zip
Merge branch 'master' into segger_systemview
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;
}