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. |
---|
|
platform/mbed_application.c |
---|