From: Keith Packard Date: Mon, 21 Nov 2016 04:54:10 +0000 (-0800) Subject: altos/stm: Interrupt priority is in the upper bits of the priority mask X-Git-Tag: 1.7~101 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=088ddbb177efc8be2fc467524dc1668553080d3b;hp=088ddbb177efc8be2fc467524dc1668553080d3b;p=fw%2Faltos altos/stm: Interrupt priority is in the upper bits of the priority mask Because the STM32L only offers 16 priority levels, the bottom four bits of each priority mask are not used. All of the interrupt priority settings in the system were using values < 16, making them all effectively the same. Fix that by moving them into the upper 4 bits and using symbolic constants everywhere. Signed-off-by: Keith Packard ---