summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-15 19:43:49 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-15 19:43:49 +0000
commit5c226d4005c44bc77fe97347a3bc4265c7a65c4c (patch)
tree53c4e5bef316caefd609607ea0a406788a7db53d
parenta52837c29e96dd13d5cefce537bc08f68c0a5e2c (diff)
downloadnuttx-5c226d4005c44bc77fe97347a3bc4265c7a65c4c.tar.gz
nuttx-5c226d4005c44bc77fe97347a3bc4265c7a65c4c.tar.bz2
nuttx-5c226d4005c44bc77fe97347a3bc4265c7a65c4c.zip
typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2137 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/include/nuttx/spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/spi.h b/nuttx/include/nuttx/spi.h
index ecfc51ca0..4f6c00f53 100644
--- a/nuttx/include/nuttx/spi.h
+++ b/nuttx/include/nuttx/spi.h
@@ -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