aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-02 18:02:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-02 18:02:56 +0000
commita0e4706757eb0b1aaaa056d47befd20db0c1e5ff (patch)
tree039cd347a8976c4b07b6e992ea1c565b6fa6fd11 /os
parentcf3cee51d12fdb5c80298d35f9bd5195e6feb6d0 (diff)
downloadChibiOS-a0e4706757eb0b1aaaa056d47befd20db0c1e5ff.tar.gz
ChibiOS-a0e4706757eb0b1aaaa056d47befd20db0c1e5ff.tar.bz2
ChibiOS-a0e4706757eb0b1aaaa056d47befd20db0c1e5ff.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4632 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/ext_lld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/ext_lld.c b/os/hal/platforms/STM32/ext_lld.c
index 90eb2573b..d9cd22cd7 100644
--- a/os/hal/platforms/STM32/ext_lld.c
+++ b/os/hal/platforms/STM32/ext_lld.c
@@ -172,6 +172,8 @@ void ext_lld_channel_disable(EXTDriver *extp, expchannel_t channel) {
EXTI->IMR &= ~(1 << channel);
EXTI->EMR &= ~(1 << channel);
+ EXTI->RTSR &= ~(1 << channel);
+ EXTI->FTSR &= ~(1 << channel);
EXTI->PR = (1 << channel);
}