Skip to content

Commit

Permalink
Fix declaration of FSMC driver in ChibiOS NF contrib (nanoframework#2171
Browse files Browse the repository at this point in the history
)

***NO_CI***
  • Loading branch information
josesimoes authored Dec 9, 2021
1 parent e490ac7 commit 91c0588
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ void fsmc_stop(FSMCDriver *fsmcp)
}

// FSMC shared interrupt handler.
CH_IRQ_HANDLER(STM32_FSMC_HANDLER)
OSAL_IRQ_HANDLER(STM32_FSMC_HANDLER)
{

CH_IRQ_PROLOGUE();
OSAL_IRQ_PROLOGUE();
#if STM32_NAND_USE_FSMC_NAND1
if (FSMCD1.nand1->SR & FSMC_SR_ISR_MASK)
{
Expand All @@ -151,7 +151,7 @@ CH_IRQ_HANDLER(STM32_FSMC_HANDLER)
NANDD2.isr_handler(&NANDD2);
}
#endif
CH_IRQ_EPILOGUE();
OSAL_IRQ_EPILOGUE();
}

#endif /* HAL_NF_USE_FSMC */

0 comments on commit 91c0588

Please sign in to comment.