diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-20 08:37:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-20 08:37:29 +0000 |
commit | 9be1c67db2a0004db4458d0b5fa7fd31c1868a34 (patch) | |
tree | cdc421624b9ccd7ddec69c043b57fdab884b224f /os/hal/platforms/LPC11xx/spi_lld.c | |
parent | 73a2000ab2ca1c8a275ee82259d118b8d18dfed9 (diff) | |
download | ChibiOS-9be1c67db2a0004db4458d0b5fa7fd31c1868a34.tar.gz ChibiOS-9be1c67db2a0004db4458d0b5fa7fd31c1868a34.tar.bz2 ChibiOS-9be1c67db2a0004db4458d0b5fa7fd31c1868a34.zip |
New NXP headers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4219 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC11xx/spi_lld.c')
-rw-r--r-- | os/hal/platforms/LPC11xx/spi_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/LPC11xx/spi_lld.c b/os/hal/platforms/LPC11xx/spi_lld.c index c8014f344..9fe7a1a3c 100644 --- a/os/hal/platforms/LPC11xx/spi_lld.c +++ b/os/hal/platforms/LPC11xx/spi_lld.c @@ -180,7 +180,7 @@ void spi_lld_init(void) { SPID1.ssp = LPC_SSP0;
LPC_IOCON->SCK_LOC = LPC11xx_SPI_SCK0_SELECTOR;
#if LPC11xx_SPI_SCK0_SELECTOR == SCK0_IS_PIO0_10
- LPC_IOCON->JTAG_TCK_PIO0_10 = 0xC2; /* SCK0 without resistors. */
+ LPC_IOCON->SWCLK_PIO0_10 = 0xC2; /* SCK0 without resistors. */
#elif LPC11xx_SPI_SCK0_SELECTOR == SCK0_IS_PIO2_11
LPC_IOCON->PIO2_11 = 0xC1; /* SCK0 without resistors. */
#else /* LPC11xx_SPI_SCK0_SELECTOR == SCK0_IS_PIO0_6 */
|