Private
Public Access
2
0

spi.hpp: rename Spi::write_word to Spi::WriteWord

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2016-04-25 15:38:21 +01:00
parent 4195a61e52
commit 5e867419bc

View File

@@ -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);
}