mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
memory_region: add static/const for read only instance
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
d49db03e04
commit
91cb625f9d
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@
|
|||
#define BUFSIZE CONFIG_LIB_GDBSTUB_PKTSIZE
|
||||
|
||||
#ifdef CONFIG_BOARD_MEMORY_RANGE
|
||||
FAR const struct memory_region_s g_memory_region[] =
|
||||
static const struct memory_region_s g_memory_region[] =
|
||||
{
|
||||
CONFIG_BOARD_MEMORY_RANGE
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue