Commit 727a31cd authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Pekka Niemimaa
Browse files

apps/nshlib: allow use of read-only romfs image



Change-Id: Iaedf68dbccd19d55b5927a19d07abf42bb743992
Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@haltian.com>
(cherry picked from commit c0bce7d9c9d4dabbf43aafe340da387a068595d1)
parent 6dc30726
......@@ -99,7 +99,7 @@ int nsh_romfsetc(void)
/* Create a ROM disk for the /etc filesystem */
ret = romdisk_register(CONFIG_NSH_ROMFSDEVNO, romfs_img,
ret = romdisk_register(CONFIG_NSH_ROMFSDEVNO, (void*)romfs_img,
NSECTORS(romfs_img_len), CONFIG_NSH_ROMFSSECTSIZE);
if (ret < 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment