From 5e867419bc0dd7c7ece48522ae1759de45812445 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Mon, 25 Apr 2016 15:38:21 +0100 Subject: [PATCH] spi.hpp: rename Spi::write_word to Spi::WriteWord 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 80eaaaf9e..f75dbfb74 100644 --- a/api/mraa/spi.hpp +++ b/api/mraa/spi.hpp @@ -130,7 +130,7 @@ class Spi * @return data received on the miso line or -1 in case of error */ int - write_word(uint16_t data) + writeWord(uint16_t data) { return mraa_spi_write_word(m_spi, (uint16_t) data); } @@ -161,7 +161,7 @@ class Spi * @return uint8_t* data received on the miso line. Same length as passed in */ uint16_t* - write_word(uint16_t* txBuf, int length) + writeWord(uint16_t* txBuf, int length) { return mraa_spi_write_buf_word(m_spi, txBuf, length); }