mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-02 19:08:54 +02:00
Apply HDC1080 patch from @Hsxsky
See also https://github.com/Hsxsky/esphome/commit/105ac63d625a05d9b36cd6ca48c2706330bfa644
This commit is contained in:
@@ -19,7 +19,7 @@ void HDC1080Component::setup() {
|
|||||||
0b00000000 // reserved
|
0b00000000 // reserved
|
||||||
};
|
};
|
||||||
|
|
||||||
if (this->write_bytes(HDC1080_CMD_CONFIGURATION, data, 2)) {
|
if (!this->write_bytes(HDC1080_CMD_CONFIGURATION, data, 2)) {
|
||||||
this->mark_failed();
|
this->mark_failed();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user