mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
LPC17: Another erroneous change from SSP to SPI
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user