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

Fix braceless else statements (#7799)

This commit is contained in:
Peter Zich
2025-01-08 22:47:30 -08:00
committed by GitHub
parent 78543e1e15
commit a498fb5dcf
17 changed files with 55 additions and 35 deletions

View File

@@ -157,8 +157,9 @@ bool HOT IRAM_ATTR DHT::read_sensor_(float *temperature, float *humidity, bool r
if (bit == 0) {
bit = 7;
byte++;
} else
} else {
bit--;
}
}
}
if (!report_errors && error_code != 0)