diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-28 09:42:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-28 09:42:37 +0000 |
commit | f0b261b0aa1559cefedb638f5a49ba46b81333cc (patch) | |
tree | 42261e7d864a24a79e833081ba2f4a84b3b9c7d0 /os/hal/platforms | |
parent | 3d07c057c0834e5c35cc0d19418c62c0085864cb (diff) | |
download | ChibiOS-f0b261b0aa1559cefedb638f5a49ba46b81333cc.tar.gz ChibiOS-f0b261b0aa1559cefedb638f5a49ba46b81333cc.tar.bz2 ChibiOS-f0b261b0aa1559cefedb638f5a49ba46b81333cc.zip |
Fixed minor issue in EXT initialization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3886 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r-- | os/hal/platforms/STM32/ext_lld.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/ext_lld.h b/os/hal/platforms/STM32/ext_lld.h index d5b40023d..6ef14427b 100644 --- a/os/hal/platforms/STM32/ext_lld.h +++ b/os/hal/platforms/STM32/ext_lld.h @@ -43,7 +43,7 @@ /**
* @brief Mask of the available channels.
*/
-#define EXT_CHANNELS_MASK (EXT_MAX_CHANNELS - 1)
+#define EXT_CHANNELS_MASK ((1 << EXT_MAX_CHANNELS) - 1)
/**
* @name EXTI configuration helpers
|