git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8606 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
4f3f64497a
commit
968e9f43c5
|
@ -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))) |
|
||||
|
|
Loading…
Reference in New Issue