spi.hpp: fix wrong docstrings data -> txBuf
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 2 Jun 2015 13:28:36 +0000 (14:28 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 2 Jun 2015 13:28:37 +0000 (14:28 +0100)
Closes #215

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
api/mraa/spi.hpp

index 3641e9d..f9563e0 100644 (file)
@@ -162,7 +162,7 @@ class Spi
      * Transfer data to and from SPI device Receive pointer may be null if
      * return data is not needed.
      *
      * Transfer data to and from SPI device Receive pointer may be null if
      * return data is not needed.
      *
-     * @param data buffer to send
+     * @param txBuf buffer to send
      * @param rxBuf buffer to optionally receive data from spi device
      * @param length size of buffer to send
      * @return Result of operation
      * @param rxBuf buffer to optionally receive data from spi device
      * @param length size of buffer to send
      * @return Result of operation
@@ -177,7 +177,7 @@ class Spi
      * Transfer data to and from SPI device Receive pointer may be null if
      * return data is not needed.
      *
      * Transfer data to and from SPI device Receive pointer may be null if
      * return data is not needed.
      *
-     * @param data buffer to send
+     * @param txBuf buffer to send
      * @param rxBuf buffer to optionally receive data from spi device
      * @param length size of buffer to send
      * @return Result of operation
      * @param rxBuf buffer to optionally receive data from spi device
      * @param length size of buffer to send
      * @return Result of operation