git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8606 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
Giovanni Di Sirio 2015-12-16 08:45:30 +00:00
parent 4f3f64497a
commit 968e9f43c5
1 changed files with 1 additions and 1 deletions

View File

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