Change to use interrupt priority definitions that use shifted values from 0 to 7, rather than the full numeric value.