summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_lpc214x.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-23 23:37:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-05-23 23:37:25 +0000
commit96810b921dd00bb3c235f9eee3b415e05b642f7c (patch)
treec5615082f5f922dd3246e1d51f6119ec9e35079d /nuttx/examples/nsh/nsh_lpc214x.c
parent6faf10944cba8e6461fe1d819e1d4b30f4dfdde8 (diff)
downloadpx4-nuttx-96810b921dd00bb3c235f9eee3b415e05b642f7c.tar.gz
px4-nuttx-96810b921dd00bb3c235f9eee3b415e05b642f7c.tar.bz2
px4-nuttx-96810b921dd00bb3c235f9eee3b415e05b642f7c.zip
Add SPI-based MMC/SD support for lm3s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1820 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_lpc214x.c')
-rw-r--r--nuttx/examples/nsh/nsh_lpc214x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh_lpc214x.c b/nuttx/examples/nsh/nsh_lpc214x.c
index 0b49a3f1d..487d3e03f 100644
--- a/nuttx/examples/nsh/nsh_lpc214x.c
+++ b/nuttx/examples/nsh/nsh_lpc214x.c
@@ -128,7 +128,7 @@ int nsh_archinitialize(void)
message("nsh_archinitialize: Initializing SPI port %d\n",
CONFIG_EXAMPLES_NSH_MMCSDSPIPORTNO);
- spi = up_spiinitialize(1);
+ spi = up_spiinitialize(CONFIG_EXAMPLES_NSH_MMCSDSPIPORTNO);
if (!spi)
{
message("nsh_archinitialize: Failed to initialize SPI port %d\n",