From b34f38537180eb5eef8cb8446da430b58c6ff2b4 Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Wed, 22 Nov 2023 09:06:19 -0500 Subject: [PATCH] Revert "[WiFi] - Adds changes required for wifi-sdk 3.1.1 (#159)" This reverts commit 389b644b5ff3f38640c7ee2285674c6b9d08afe3. --- matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c b/matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c index 4ae2198ea0..581f11793c 100644 --- a/matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c +++ b/matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c @@ -18,7 +18,7 @@ #include "rsi_pll.h" #include "rsi_rom_clks.h" #include "silabs_utils.h" -#include "sl_si91x_button_pin_config.h" +#include "sl_si91x_button_config.h" #include "sli_siwx917_soc.h" #define SOC_PLL_REF_FREQUENCY 32000000 /* PLL input REFERENCE clock 32MHZ */ @@ -87,6 +87,6 @@ int soc_pll_config(void) { void sl_si91x_button_isr(uint8_t pin, uint8_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); + ? sl_button_on_change(SL_BUTTON_BTN0_NUMBER, state) + : sl_button_on_change(SL_BUTTON_BTN1_NUMBER, state); }