Skip to content

Commit

Permalink
Updated the API sl_si91x_button_isr for conflicting types
Browse files Browse the repository at this point in the history
  • Loading branch information
bhmanda-silabs committed Sep 23, 2024
1 parent a6d834d commit e80d8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matter/si91x/support/hal/rsi_hal_mcu_m4.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int soc_pll_config(void) {
return 0;
}

void sl_si91x_button_isr(uint8_t pin, uint8_t state) {
void sl_si91x_button_isr(uint8_t pin, int8_t state) {
(pin == SL_BUTTON_BTN0_PIN)
? sl_button_on_change(SL_BUTTON_BTN0_NUMBER, !state)
: sl_button_on_change(SL_BUTTON_BTN1_NUMBER, !state);
Expand Down

0 comments on commit e80d8eb

Please sign in to comment.