Skip to content

Commit 0ca9a6b

Browse files
Merge pull request #4353 from theotherjimmy/fix-static-nrf5
Add static to NRF5 SDK11 macro definition
2 parents 5d0ce3c + e473983 commit 0ca9a6b

File tree

1 file changed

+1
-1
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars

1 file changed

+1
-1
lines changed

targets/TARGET_NORDIC/TARGET_NRF5/TARGET_SDK11/libraries/experimental_section_vars/section_vars.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
#elif defined(__ICCARM__)
243243

244244
#define NRF_SECTION_VARS_ADD(section_name, type_def) \
245-
__root type_def @ #section_name
245+
static __root type_def @ #section_name
246246

247247
#endif
248248

0 commit comments

Comments
 (0)