1
0
mirror of https://github.com/esphome/esphome.git synced 2025-04-14 06:40:32 +01:00

fix another answer typo

This commit is contained in:
Michael Doppler 2024-07-07 13:50:20 +02:00
parent 619cdc7690
commit 99b25a1911

View File

@ -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;