Merge pull request #8187 from rafaljot/patch-5

Update InterruptVectors_Due.cpp
2.0.x
Scott Lahteine 7 years ago committed by GitHub
commit f1edf83720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,7 +74,7 @@ static pfnISR_Handler* get_relocated_table_addr(void) {
pfnISR_Handler install_isr(IRQn_Type irq, pfnISR_Handler newHandler) { pfnISR_Handler install_isr(IRQn_Type irq, pfnISR_Handler newHandler) {
// Get the address of the relocated table // Get the address of the relocated table
const pfnISR_Handler *isrtab = get_relocated_table_addr(); pfnISR_Handler *isrtab = get_relocated_table_addr();
// Disable global interrupts // Disable global interrupts
CRITICAL_SECTION_START; CRITICAL_SECTION_START;

Loading…
Cancel
Save