mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
parent
a0046a2e55
commit
23f99908db
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ void HDC1080Component::setup() {
|
|||
0b00000000 // reserved
|
||||
};
|
||||
|
||||
if (this->write_bytes(HDC1080_CMD_CONFIGURATION, data, 2)) {
|
||||
if (!this->write_bytes(HDC1080_CMD_CONFIGURATION, data, 2)) {
|
||||
this->mark_failed();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue