Skip to content

Commit

Permalink
Update Si70xx sensor define (#231)
Browse files Browse the repository at this point in the history
Update Si70xx define
  • Loading branch information
mkardous-silabs authored Oct 8, 2024
1 parent 991c52b commit 0576137
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD2601B/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
sl_uartdrv_init_instances();
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4186A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4186C/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void sl_driver_init(void)
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4187A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ void sl_driver_init(void)
#ifdef SL_WIFI
sl_spidrv_init_instances();
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg26/BRD2608A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void sl_driver_init(void)
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg26/BRD4116A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void sl_driver_init(void)
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg26/BRD4117A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void sl_driver_init(void)
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg26/BRD4118A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ void sl_driver_init(void)
sl_spidrv_init_instances();
#endif
#endif
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4316A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
#if defined(CONFIG_ENABLE_UART)
sl_uartdrv_init_instances();
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4317A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
#if defined(CONFIG_ENABLE_UART)
sl_uartdrv_init_instances();
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4318A/autogen/sl_event_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ void sl_kernel_start(void)
void sl_driver_init(void)
{
GPIOINT_Init();
#if defined(USE_TEMP_SENSOR)
#if defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_i2cspm_init_instances();
#endif
#endif // defined(SL_MATTER_USE_SI70XX_SENSOR) && SL_MATTER_USE_SI70XX_SENSOR
sl_simple_button_init_instances();
sl_simple_led_init_instances();
#if defined(CONFIG_ENABLE_UART)
Expand Down

0 comments on commit 0576137

Please sign in to comment.