1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 13:22:19 +01:00

Fix a bunch of typos (#2058)

Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Otto Winter <otto@otto-winter.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Oxan van Leeuwen
2021-07-26 14:48:57 +02:00
committed by GitHub
parent 6b535b11f8
commit a3dcac62f9
33 changed files with 63 additions and 63 deletions

View File

@@ -203,7 +203,7 @@ bool HOT ICACHE_RAM_ATTR DHT::read_sensor_(float *temperature, float *humidity,
const uint16_t raw_humidity = uint16_t(data[0]) * 10 + data[1];
*humidity = raw_humidity / 10.0f;
} else {
// For compatibily with DHT11 models which might only use 2 bytes checksums, only use the data from these two
// For compatibility with DHT11 models which might only use 2 bytes checksums, only use the data from these two
// bytes
*temperature = data[2];
*humidity = data[0];