mirror of
https://github.com/esphome/esphome.git
synced 2024-12-20 16:18:49 +01:00
Fix SPIDevice::write_byte16 to actually take a 16 bit argument (#2345)
This commit is contained in:
parent
53bd197c44
commit
c60c618204
@ -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 New Issue
Block a user