mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
Improve spelling
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
9942f3b387
commit
813711e233
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ bool MCP3428Component::poll_result(float &voltage) {
|
|||
}
|
||||
}
|
||||
|
||||
float MCP3428Component::convert_anwser_to_voltage_(uint8_t const *anwser) {
|
||||
float MCP3428Component::convert_answer_to_voltage_(uint8_t const *answer) {
|
||||
uint8_t config_resolution = (this->prev_config_ >> 2) & 0b00000011;
|
||||
uint8_t config_gain = this->prev_config_ & 0b00000011;
|
||||
|
||||
|
|
Loading…
Reference in a new issue