mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
formatting issues
This commit is contained in:
parent
e1bda24564
commit
b12f260620
1 changed files with 1 additions and 2 deletions
|
@ -84,9 +84,8 @@ void ICNT86Touchscreen::icnt_read_(UWORD reg, char const *data, UBYTE len) { thi
|
||||||
|
|
||||||
void ICNT86Touchscreen::icnt_write_(UWORD reg, char const *data, UBYTE len) { this->i2c_write_byte_(reg, data, len); }
|
void ICNT86Touchscreen::icnt_write_(UWORD reg, char const *data, UBYTE len) { this->i2c_write_byte_(reg, data, len); }
|
||||||
void ICNT86Touchscreen::i2c_read_byte_(UWORD reg, char const *data, UBYTE len) {
|
void ICNT86Touchscreen::i2c_read_byte_(UWORD reg, char const *data, UBYTE len) {
|
||||||
char *rbuf = const data;
|
|
||||||
this->i2c_write_byte_(reg, nullptr, 0);
|
this->i2c_write_byte_(reg, nullptr, 0);
|
||||||
this->read((uint8_t *) rbuf, len);
|
this->read((uint8_t *) data, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace icnt86
|
} // namespace icnt86
|
||||||
|
|
Loading…
Reference in a new issue