Skip to content

Commit 4b78777

Browse files
fimohamejhedberg
authored andcommitted
wiseconnect: Fix inclusion of sl_event_handler.h
sl_event_handler.h is not available in hal_silabs. The upstream added a guard to avoid to include it with Zephyr. Unfortunately, there is a typo in the name of the macro. Upstream-status: Pending Signed-off-by: S Mohamed Fiaz <[email protected]> Signed-off-by: Jérôme Pouiller <[email protected]>
1 parent f3e8b5c commit 4b78777

File tree

1 file changed

+2
-1
lines changed
  • wiseconnect/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/inc

1 file changed

+2
-1
lines changed

wiseconnect/components/device/silabs/si91x/mcu/drivers/peripheral_drivers/inc/sl_si91x_m4_ps.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#include "rsi_rom_ulpss_clk.h"
4343
#include "rsi_rom_timer.h"
4444
#include "rsi_rom_power_save.h"
45-
#ifndef _ZEPHYR_
45+
#ifndef __ZEPHYR__
4646
#include "sl_event_handler.h"
4747
#endif
4848
/*=======================================================================*/
@@ -65,5 +65,6 @@ void IRQ026_Handler();
6565
void vPortSetupTimerInterrupt(void);
6666
void sli_si91x_m4_ta_wakeup_configurations(void);
6767
void wakeup_source_config(void);
68+
void sli_si91x_m4_ta_wakeup_configurations(void);
6869
#endif /* SLI_SI91X_MCU_INTERFACE */
6970
#endif /* SL_SI91X_M4_POWERSAVE_H_ */

0 commit comments

Comments
 (0)