Private
Public Access
2
0

maa: change complex C++ write calls to CamelCase for spi & i2c

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-06-24 14:42:24 +01:00
parent 2664d7c0e0
commit 79d0da4853
5 changed files with 8 additions and 8 deletions

View File

@@ -85,7 +85,7 @@ class Spi {
* @param length size of buffer to send
* @return char* data received on the miso line. Same length as passed in
*/
unsigned char* write_buf(uint8_t* data, int length) {
unsigned char* write(uint8_t* data, int length) {
return (unsigned char*) maa_spi_write_buf(m_spi, data, length);
}
/**
@@ -103,7 +103,7 @@ class Spi {
* @param bits bits per word
* @return Result of operation
*/
maa_result_t bit_per_word(unsigned int bits) {
maa_result_t bitPerWord(unsigned int bits) {
return maa_spi_bit_per_word(m_spi, bits);
}
private: