Skip to content

Commit

Permalink
Revert "[WiFi] - Adds changes required for wifi-sdk 3.1.1 (#159)"
Browse files Browse the repository at this point in the history
This reverts commit 389b644.
  • Loading branch information
mkardous-silabs authored Nov 22, 2023
1 parent 389b644 commit b34f385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions matter/si91x/siwx917/BRD4338A/support/hal/rsi_hal_mcu_m4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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);
}

0 comments on commit b34f385

Please sign in to comment.