git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2137 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-10-15 19:43:49 +00:00
parent a9e91d9a0b
commit 8781f3e998
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@
*
****************************************************************************/
#define SPI_SETMODE(d,m) ((d)->ops->mode ? (d)->ops->mode(d,m) : (void))
#define SPI_SETMODE(d,m) ((d)->ops->setmode ? (d)->ops->setmode(d,m) : (void))
/****************************************************************************
* Name: SPI_SETBITS
@ -222,7 +222,7 @@
*
* Input Parameters:
* dev - Device-specific state data
* buffer - A pointer to the buffer of data to be sent
* txbuffer - A pointer to the buffer of data to be sent
* rxbuffer - A pointer to the buffer in which to recieve data
* nwords - the length of data that to be exchanged in units of words.
* The wordsize is determined by the number of bits-per-word