mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 05:10:44 +00:00
LPC17: Another erroneous change from SSP to SPI
This commit is contained in:
parent
9329034a4f
commit
705b89e2d4
1 changed files with 2 additions and 2 deletions
|
|
@ -193,9 +193,9 @@ static int nsh_sdinitialize(void)
|
|||
|
||||
lpc17_gpiowrite(LPC1766STK_MMC_PWR, false);
|
||||
|
||||
/* Get the SSP port */
|
||||
/* Get the SSP port. MMC/SD is on SSP port 1. */
|
||||
|
||||
ssp = lpc17_spibus_initialize(CONFIG_NSH_MMCSDSPIPORTNO);
|
||||
ssp = lpc17_sspbus_initialize(CONFIG_NSH_MMCSDSPIPORTNO);
|
||||
if (!ssp)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to initialize SSP port %d\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue