mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 23:05:20 +00:00
Fix NSH-related compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2133 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
4ff1438047
commit
4c72324cbc
1 changed files with 2 additions and 0 deletions
|
|
@ -102,6 +102,7 @@
|
|||
|
||||
int nsh_archinitialize(void)
|
||||
{
|
||||
#if defined(CONFIG_STM32_SPI1) || defined(CONFIG_STM32_SPI2)
|
||||
FAR struct spi_dev_s *spi;
|
||||
int ret;
|
||||
|
||||
|
|
@ -136,5 +137,6 @@ int nsh_archinitialize(void)
|
|||
|
||||
message("nsh_archinitialize: Successfuly bound SPI port %d to MMC/SD slot %d\n",
|
||||
CONFIG_EXAMPLES_NSH_MMCSDSPIPORTNO, CONFIG_EXAMPLES_NSH_MMCSDSLOTNO);
|
||||
#endif
|
||||
return OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue