Fixed mtxRegionXXX macros.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11224 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
6a1ce8b725
commit
68f26d33ee
|
@ -256,7 +256,7 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#define mtxRegionRdnsech(region, rdnsech) (rdnsech << region)
|
||||
#define mtxRegionRdnsech(region, rdnsech) ((rdnsech << 8) << region)
|
||||
|
||||
/**
|
||||
* @brief Configure WRNSECH per Region.
|
||||
|
@ -266,7 +266,7 @@
|
|||
*
|
||||
* @api
|
||||
*/
|
||||
#define mtxRegionWrnsech(region, wrnsech) (wrnsech << region)
|
||||
#define mtxRegionWrnsech(region, wrnsech) ((wrnsech << 16) << region)
|
||||
|
||||
/*===========================================================================*/
|
||||
/* External declarations. */
|
||||
|
|
Loading…
Reference in New Issue