Improve spelling

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Michael Doppler 2024-07-07 13:28:21 +02:00 committed by GitHub
parent 9942f3b387
commit 813711e233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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