File tree 2 files changed +6
-0
lines changed
src/platform/silabs/platformAbstraction
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ extern "C" {
41
41
42
42
#if SLI_SI91X_MCU_INTERFACE
43
43
#include " USART.h"
44
+ #if defined(SL_SI91X_BOARD_INIT)
44
45
#include " rsi_board.h"
46
+ #endif // SL_SI91X_BOARD_INIT
45
47
#include " rsi_debug.h"
46
48
#include " rsi_rom_egpio.h"
47
49
#else // For EFR32
Original file line number Diff line number Diff line change 33
33
// TODO add includes ?
34
34
extern " C" {
35
35
#include " em_core.h"
36
+ #if defined(SL_SI91X_BOARD_INIT)
36
37
#include " rsi_board.h"
38
+ #endif // SL_SI91X_BOARD_INIT
37
39
#include " sl_event_handler.h"
38
40
39
41
#ifdef SL_CATALOG_SIMPLE_BUTTON_PRESENT
@@ -119,7 +121,9 @@ CHIP_ERROR SilabsPlatform::Init(void)
119
121
void SilabsPlatform::InitLed (void )
120
122
{
121
123
// TODO
124
+ #if defined(SL_SI91X_BOARD_INIT)
122
125
RSI_Board_Init ();
126
+ #endif // SL_SI91X_BOARD_INIT
123
127
SilabsPlatformAbstractionBase::InitLed ();
124
128
}
125
129
You can’t perform that action at this time.
0 commit comments