From 8781f3e9987373efefee3b9fe9fa715179f0b870 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 15 Oct 2009 19:43:49 +0000 Subject: [PATCH] typos git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2137 42af7a65-404d-4744-a932-0658087f49c3 --- include/nuttx/spi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/spi.h b/include/nuttx/spi.h index ecfc51ca05..4f6c00f536 100644 --- a/include/nuttx/spi.h +++ b/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