Minor usb-related
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3150 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
5ad725c1ca
commit
0bf49338d8
@ -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",
|
||||
|
@ -113,7 +113,7 @@ int usbstrg_archinitialize(void)
|
||||
message("usbstrg_archinitialize: Initializing SPI port %d\n",
|
||||
LPC17XX_MMCSDSPIPORTNO);
|
||||
|
||||
spi = up_spiinitialize(1);
|
||||
spi = up_spiinitialize(LPC17XX_MMCSDSPIPORTNO);
|
||||
if (!spi)
|
||||
{
|
||||
message("usbstrg_archinitialize: Failed to initialize SPI port %d\n",
|
||||
|
@ -120,7 +120,7 @@ int usbstrg_archinitialize(void)
|
||||
message("usbstrg_archinitialize: Initializing SPI port %d\n",
|
||||
LPC17XX_MMCSDSPIPORTNO);
|
||||
|
||||
spi = up_spiinitialize(1);
|
||||
spi = up_spiinitialize(LPC17XX_MMCSDSPIPORTNO);
|
||||
if (!spi)
|
||||
{
|
||||
message("usbstrg_archinitialize: Failed to initialize SPI port %d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user