diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-16 08:45:30 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-16 08:45:30 +0000 |
commit | 968e9f43c5dd939c69bc3f2b9880b8a687d3516c (patch) | |
tree | 4de34fa75ca550d541a1163dd465e1d08f588f52 | |
parent | 4f3f64497a0608e43ea46ab9a9186ca108a168ce (diff) | |
download | ChibiOS-968e9f43c5dd939c69bc3f2b9880b8a687d3516c.tar.gz ChibiOS-968e9f43c5dd939c69bc3f2b9880b8a687d3516c.tar.bz2 ChibiOS-968e9f43c5dd939c69bc3f2b9880b8a687d3516c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8606 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/common/ARMCMx/nvic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/common/ARMCMx/nvic.c b/os/hal/ports/common/ARMCMx/nvic.c index 605640d8b..48ab810f4 100644 --- a/os/hal/ports/common/ARMCMx/nvic.c +++ b/os/hal/ports/common/ARMCMx/nvic.c @@ -89,7 +89,7 @@ void nvicDisableVector(uint32_t n) { */
void nvicSetSystemHandlerPriority(uint32_t handler, uint32_t prio) {
- osalDbgCheck(handler <= 12U);
+ osalDbgCheck(handler < 12U);
#if defined(__CORE_CM0_H_GENERIC)
SCB->SHP[_SHP_IDX(handler)] = (SCB->SHP[_SHP_IDX(handler)] & ~(0xFFU << _BIT_SHIFT(handler))) |
|