Skip to content

Commit

Permalink
fix(Boards): Add GPIO2_IRQ_Handler for MAX78000 FTHR_RevA (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilicomercan authored Oct 9, 2024
1 parent 6d4568e commit 285f4db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Libraries/Boards/MAX78000/FTHR_RevA/Source/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ __weak void GPIO1_IRQHandler(void)
{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO1));
}
/******************************************************************************/
/**
* NOTE: This weak definition is included to support to catch interrupts from
* GPIO2 pins in case user does not define this interrupt handler in their
* application.
**/
__weak void GPIO2_IRQHandler(void)
{
MXC_GPIO_Handler(MXC_GPIO_GET_IDX(MXC_GPIO2));
}

/******************************************************************************/
int Board_Init(void)
Expand Down

0 comments on commit 285f4db

Please sign in to comment.