mirror of
https://github.com/esphome/esphome.git
synced 2025-02-25 20:42:25 +01:00
fix one more underscore
This commit is contained in:
parent
0ae9b1a96d
commit
7bb76ba13f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class Si4713Component : public PollingComponent, public i2c::I2CDevice {
|
||||||
return this->send_cmd_(cmd);
|
return this->send_cmd_(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename P> bool get_prop(P &p) {
|
template<typename P> bool get_prop_(P &p) {
|
||||||
ResGetProperty res;
|
ResGetProperty res;
|
||||||
if (this->send_cmd_(CmdGetProperty(p.PROP), res)) {
|
if (this->send_cmd_(CmdGetProperty(p.PROP), res)) {
|
||||||
p.PROPD = ((uint16_t) res.PROPDH << 8) | res.PROPDL;
|
p.PROPD = ((uint16_t) res.PROPDH << 8) | res.PROPDL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue