diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-07 03:06:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-12-07 03:06:19 +0000 |
commit | 14f4f5c4cb34f594624263cd10ccaba7137f83fe (patch) | |
tree | 6c3a7e3a46cb2b342326cc4fc8d100da06264a19 /nuttx/arch/arm | |
parent | afcd2f334a91cf1d37eb8dce6641c620f316b76e (diff) | |
download | px4-nuttx-14f4f5c4cb34f594624263cd10ccaba7137f83fe.tar.gz px4-nuttx-14f4f5c4cb34f594624263cd10ccaba7137f83fe.tar.bz2 px4-nuttx-14f4f5c4cb34f594624263cd10ccaba7137f83fe.zip |
LCD bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3166 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rwxr-xr-x | nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c b/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c index 4512cbd28..448177345 100755 --- a/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c +++ b/nuttx/arch/arm/src/lpc17xx/lpc17_ssp.c @@ -434,13 +434,14 @@ static void ssp_setmode(FAR struct spi_dev_s *dev, enum spi_mode_e mode) break; default: + sspdbg("Bad mode: %d\n", mode); DEBUGASSERT(FALSE); return; } ssp_putreg(priv, LPC17_SSP_CR0_OFFSET, regval); - /* Save the mode so that subsequent re-configuratins will be faster */ + /* Save the mode so that subsequent re-configurations will be faster */ #ifndef CONFIG_SPI_OWNBUS priv->mode = mode; |