mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fix SPIDevice::write_byte16 to actually take a 16 bit argument (#2345)
This commit is contained in:
parent
53bd197c44
commit
c60c618204
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class SPIDevice {
|
|||
return this->parent_->template write_byte<BIT_ORDER, CLOCK_POLARITY, CLOCK_PHASE>(data);
|
||||
}
|
||||
|
||||
void write_byte16(uint8_t data) {
|
||||
void write_byte16(uint16_t data) {
|
||||
return this->parent_->template write_byte16<BIT_ORDER, CLOCK_POLARITY, CLOCK_PHASE>(data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue