Fixed minor issue in EXT initialization.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3886 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2012-01-28 09:42:37 +00:00
parent 3d07c057c0
commit f0b261b0aa
1 changed files with 1 additions and 1 deletions

View File

@ -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