mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 15:20:27 +01:00
fix another answer typo
This commit is contained in:
parent
619cdc7690
commit
99b25a1911
@ -122,7 +122,7 @@ bool MCP3428Component::poll_result(float &voltage) {
|
|||||||
}
|
}
|
||||||
if ((anwser[2] & 0b10000000) == 0) {
|
if ((anwser[2] & 0b10000000) == 0) {
|
||||||
// ready flag is 0, valid measurement received
|
// ready flag is 0, valid measurement received
|
||||||
voltage = this->convert_anwser_to_voltage_(anwser);
|
voltage = this->convert_answer_to_voltage_(anwser);
|
||||||
single_measurement_active_ = false;
|
single_measurement_active_ = false;
|
||||||
this->status_clear_warning();
|
this->status_clear_warning();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user