mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:47:51 +01:00
parent
9d7f76773d
commit
e207c6ad84
@ -59,7 +59,7 @@ void CTClampSensor::update() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CTClampSensor::loop() {
|
void CTClampSensor::loop() {
|
||||||
if (!this->is_sampling_ || !this->is_calibrating_offset_)
|
if (!this->is_sampling_ && !this->is_calibrating_offset_)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Perform a single sample
|
// Perform a single sample
|
||||||
|
Loading…
Reference in New Issue
Block a user