Patches for LPC17xx SSP driver from Chris Taglia; patch for RAM test from Rommel Marcelo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5792 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
fa1d47e4f0
commit
edc4fd3f96
|
@ -495,7 +495,7 @@ static void ssp_setbits(FAR struct spi_dev_s *dev, int nbits)
|
|||
regval = ssp_getreg(priv, LPC17_SSP_CR0_OFFSET);
|
||||
regval &= ~SSP_CR0_DSS_MASK;
|
||||
regval |= ((nbits - 1) << SSP_CR0_DSS_SHIFT);
|
||||
regval = ssp_getreg(priv, LPC17_SSP_CR0_OFFSET);
|
||||
ssp_putreg(priv, LPC17_SSP_CR0_OFFSET, regval);
|
||||
|
||||
/* Save the selection so the subsequence re-configurations will be faster */
|
||||
|
||||
|
|
Loading…
Reference in New Issue