Skip to content

Commit

Permalink
removing the IRQ021 handler since it is already handled by the btn ha…
Browse files Browse the repository at this point in the history
…ndler
  • Loading branch information
chirag-silabs committed Jan 8, 2024
1 parent b454631 commit 9b72195
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions matter/si91x/siwx917/BRD4338A/support/src/sl_si91x_m4_ps.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@

#define WIRELESS_WAKEUP_IRQHandler NPSS_TO_MCU_WIRELESS_INTR_IRQn

#ifndef ALARM_PERIODIC_TIME
#define ALARM_PERIODIC_TIME 30 /*<! periodic alarm configuration in SEC */
#endif

#define RTC_ALARM_INTR BIT(16)
#define NPSS_GPIO_2 2
Expand Down Expand Up @@ -105,17 +107,6 @@ void wakeup_source_config(void)
NVIC_EnableIRQ(NPSS_TO_MCU_GPIO_INTR_IRQn);
}

/**
* @brief GPIO based wake up IRQ
* @param none
* @return none
*/
void IRQ021_Handler(void)
{
/* clear NPSS GPIO interrupt*/
RSI_NPSSGPIO_ClrIntr(NPSS_GPIO_2_INTR);
//LOG_PRINT("BUTTON_PRESSED");
}
#endif /* SL_SI91X_MCU_BUTTON_BASED_WAKEUP */
#ifdef SL_SI91X_MCU_WIRELESS_BASED_WAKEUP
void IRQ026_Handler()
Expand Down

0 comments on commit 9b72195

Please sign in to comment.