mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Spark: Eliminate some warnings
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_NSH_ARCHINIT) i|| !defined(CONFIG_NSH_BUILTIN_APPS)
|
||||
static int do_composite_archinitialize(void)
|
||||
{
|
||||
#ifdef HAVE_SST25
|
||||
@@ -176,7 +177,7 @@ static int do_composite_archinitialize(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if CONFIG_SPARK_MOUNT_FLASH
|
||||
#ifdef CONFIG_SPARK_MOUNT_FLASH
|
||||
char partname[16];
|
||||
char mntpoint[16];
|
||||
|
||||
@@ -276,6 +277,7 @@ static int do_composite_archinitialize(void)
|
||||
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
@@ -184,7 +184,7 @@ int board_app_initialize(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#if CONFIG_SPARK_MOUNT_FLASH
|
||||
#ifdef CONFIG_SPARK_MOUNT_FLASH
|
||||
char partname[16];
|
||||
char mntpoint[16];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user