Skip to content

Commit 389726f

Browse files
jerome-pouillerjhedberg
authored andcommitted
wiseconnect: Avoid symbols conflicts in PSRAM driver
Symbols "control" and "config" are very generic and may conflict with the user application. In addition, they are not used outside of sl_si91x_psram.c. So they can be declared with static qualifier. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
1 parent f8e5df3 commit 389726f

File tree

1 file changed

+2
-2
lines changed
  • wiseconnect/components/device/silabs/si91x/mcu/drivers/unified_api/src

1 file changed

+2
-2
lines changed

wiseconnect/components/device/silabs/si91x/mcu/drivers/unified_api/src/sl_si91x_psram.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ extern RSI_UDMA_HANDLE_T udmaHandle0;
138138
extern uint32_t dma_rom_buff0[30];
139139

140140
static volatile struct xferContextType ctx;
141-
RSI_UDMA_CHA_CONFIG_DATA_T control;
142-
RSI_UDMA_CHA_CFG_T config;
141+
static RSI_UDMA_CHA_CONFIG_DATA_T control;
142+
static RSI_UDMA_CHA_CFG_T config;
143143

144144
/*******************************************************************************
145145
********************* LOCAL FUNCTION PROTOTYPES ***************************

0 commit comments

Comments
 (0)