Private
Public Access
2
0

spi.h: add doc to make sure people free the returned buffer after maa_spi_write

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-06-13 17:52:59 +01:00
parent ba102b2526
commit 4a0c76c1a0

View File

@@ -81,7 +81,8 @@ maa_result_t maa_spi_frequency(maa_spi_context dev, int hz);
*/
uint8_t maa_spi_write(maa_spi_context dev, uint8_t data);
/** Write Buffer of bytes to the SPI device.
/** Write Buffer of bytes to the SPI device. The pointer return has to be
* free'd by the caller.
*
* @param dev The Spi context
* @param data to send