Spark: Eliminate some warnings
This commit is contained in:
parent
f697cbfd0d
commit
6add91e42d
@ -127,6 +127,7 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#if !defined(CONFIG_NSH_ARCHINIT) i|| !defined(CONFIG_NSH_BUILTIN_APPS)
|
||||||
static int do_composite_archinitialize(void)
|
static int do_composite_archinitialize(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SST25
|
#ifdef HAVE_SST25
|
||||||
@ -176,7 +177,7 @@ static int do_composite_archinitialize(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_SPARK_MOUNT_FLASH
|
#ifdef CONFIG_SPARK_MOUNT_FLASH
|
||||||
char partname[16];
|
char partname[16];
|
||||||
char mntpoint[16];
|
char mntpoint[16];
|
||||||
|
|
||||||
@ -276,6 +277,7 @@ static int do_composite_archinitialize(void)
|
|||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
|
@ -184,7 +184,7 @@ int board_app_initialize(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_SPARK_MOUNT_FLASH
|
#ifdef CONFIG_SPARK_MOUNT_FLASH
|
||||||
char partname[16];
|
char partname[16];
|
||||||
char mntpoint[16];
|
char mntpoint[16];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user