Skip to content

Commit

Permalink
spi.hpp: rename Spi::write_word to Spi::WriteWord
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Le Foll <[email protected]>
  • Loading branch information
arfoll committed Apr 25, 2016
1 parent 4195a61 commit 5e86741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/mraa/spi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 5e86741

Please sign in to comment.