mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +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);
|
||||
}
|
||||
void SHTCXComponent::sleep() {
|
||||
if (!this->write_command_(SHTCX_COMMAND_SLEEP)) {
|
||||
this->write_command_(SHTCX_COMMAND_SLEEP)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user