mirror of
https://github.com/esphome/esphome.git
synced 2025-01-13 16:13:17 +01:00
fix another answer typo
This commit is contained in:
parent
619cdc7690
commit
99b25a1911
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ bool MCP3428Component::poll_result(float &voltage) {
|
|||
}
|
||||
if ((anwser[2] & 0b10000000) == 0) {
|
||||
// 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;
|
||||
this->status_clear_warning();
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue