nshlib: remove NSH_HAVE_WRITABLE_MOUNTPOINT to enable mkrd again

This commit is contained in:
spiriou
2020-08-23 19:25:25 +02:00
committed by Xiang Xiao
parent aa717d59fd
commit 06c7f06b1d
2 changed files with 1 additions and 5 deletions

View File

@@ -323,11 +323,9 @@ static const struct cmdmap_s g_cmdmap[] =
# endif
#endif
#ifdef NSH_HAVE_WRITABLE_MOUNTPOINT
# ifndef CONFIG_NSH_DISABLE_MKRD
#ifndef CONFIG_NSH_DISABLE_MKRD
{ "mkrd", cmd_mkrd, 2, 6,
"[-m <minor>] [-s <sector-size>] <nsectors>" },
# endif
#endif
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_SMARTFS) && \