diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-30 19:35:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-11-30 19:35:24 +0000 |
commit | 27e71c82478ba209fa239fda9ec847c7aefa4174 (patch) | |
tree | bbb0fb19b21a5c48f4fffabe1e49aeab10154e78 /nuttx/configs/mcu123-lpc214x/src | |
parent | cf595d2b70ae33aa9d758da3846114b7ed658a9f (diff) | |
download | px4-nuttx-27e71c82478ba209fa239fda9ec847c7aefa4174.tar.gz px4-nuttx-27e71c82478ba209fa239fda9ec847c7aefa4174.tar.bz2 px4-nuttx-27e71c82478ba209fa239fda9ec847c7aefa4174.zip |
Minor usb-related
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3150 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mcu123-lpc214x/src')
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/src/up_usbstrg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/src/up_usbstrg.c b/nuttx/configs/mcu123-lpc214x/src/up_usbstrg.c index 0159e81fc..c34a76cc0 100755 --- a/nuttx/configs/mcu123-lpc214x/src/up_usbstrg.c +++ b/nuttx/configs/mcu123-lpc214x/src/up_usbstrg.c @@ -1,7 +1,7 @@ /**************************************************************************** * configs/mcu123-lpc214x/src/up_usbstrg.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Configure and register the LPC214x MMC/SD SPI block driver. @@ -113,7 +113,7 @@ int usbstrg_archinitialize(void) message("usbstrg_archinitialize: Initializing SPI port %d\n", LPC214X_MMCSDSPIPORTNO); - spi = up_spiinitialize(1); + spi = up_spiinitialize(LPC214X_MMCSDSPIPORTNO); if (!spi) { message("usbstrg_archinitialize: Failed to initialize SPI port %d\n", |