diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-21 18:49:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-21 18:49:04 +0000 |
commit | 334c7d645d1eccc59b9e19678b5e47d1e3ae2320 (patch) | |
tree | 7d10743985bd29c48c818f872f4fd7365fe19d96 /os/ports/GCC/ARMCMx/chcore_v6m.h | |
parent | 6100dc08a6a9f4592f324204bad26ba11239a030 (diff) | |
download | ChibiOS-334c7d645d1eccc59b9e19678b5e47d1e3ae2320.tar.gz ChibiOS-334c7d645d1eccc59b9e19678b5e47d1e3ae2320.tar.bz2 ChibiOS-334c7d645d1eccc59b9e19678b5e47d1e3ae2320.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3645 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCMx/chcore_v6m.h')
-rw-r--r-- | os/ports/GCC/ARMCMx/chcore_v6m.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/chcore_v6m.h b/os/ports/GCC/ARMCMx/chcore_v6m.h index 71fffdac8..88c1cb28b 100644 --- a/os/ports/GCC/ARMCMx/chcore_v6m.h +++ b/os/ports/GCC/ARMCMx/chcore_v6m.h @@ -161,9 +161,9 @@ struct intctx { */
#define port_init() { \
SCB_AIRCR = AIRCR_VECTKEY | AIRCR_PRIGROUP(0); \
- NVICSetSystemHandlerPriority(HANDLER_PENDSV, \
+ nvicSetSystemHandlerPriority(HANDLER_PENDSV, \
CORTEX_PRIORITY_MASK(CORTEX_PRIORITY_PENDSV)); \
- NVICSetSystemHandlerPriority(HANDLER_SYSTICK, \
+ nvicSetSystemHandlerPriority(HANDLER_SYSTICK, \
CORTEX_PRIORITY_MASK(CORTEX_PRIORITY_SYSTICK)); \
}
|