Fix ISR powerdown in mbed_application.c
Fix a calculation error in in powerdown_nvic preventing the last
group of 32 interrupts from getting powered down. The ARMv7m reference
manual states "the total number of interrupt lines is up
to (32*(INTLINESNUM+1)).".

Also rename isr_count to isr_groups_32 for clarity, since this is
actually the number of 32 interrupt groups.
ls
1 parent 316c875 commit 29ad5bb09bce627cdf9113d9aa14a6e01d36d6aa
@Russ Butler Russ Butler authored on 22 Aug 2017
Showing 1 changed file
View
platform/mbed_application.c