From 91c56917c75f2dcee5e75ff5de1fdb8b518a09fd Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 2 Jun 2015 14:28:36 +0100 Subject: [PATCH] spi.hpp: fix wrong docstrings data -> txBuf Closes #215 Signed-off-by: Brendan Le Foll --- api/mraa/spi.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/mraa/spi.hpp b/api/mraa/spi.hpp index 3641e9d..f9563e0 100644 --- a/api/mraa/spi.hpp +++ b/api/mraa/spi.hpp @@ -162,7 +162,7 @@ class Spi * 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 @@ -177,7 +177,7 @@ class Spi * 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 -- 2.7.4