mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Update esphome/components/shtcx/shtcx.cpp
Good point. Co-Authored-By: Otto Winter <otto@otto-winter.com>
This commit is contained in:
parent
75d2de79d8
commit
851a4fdf26
@ -147,7 +147,7 @@ void SHTCXComponent::soft_reset() {
|
|||||||
delayMicroseconds(200);
|
delayMicroseconds(200);
|
||||||
}
|
}
|
||||||
void SHTCXComponent::sleep() {
|
void SHTCXComponent::sleep() {
|
||||||
if (!this->write_command_(SHTCX_COMMAND_SLEEP)) {
|
this->write_command_(SHTCX_COMMAND_SLEEP)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user