mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Replaced 'boolean' with 'bool'
This commit is contained in:
parent
589235ea7e
commit
b10dbbf407
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ void set_bit(uint8_t *const data, const uint8_t position, const bool on) {
|
|||
}
|
||||
}
|
||||
|
||||
boolean get_bit(const uint8_t data, const uint8_t position) { return (data & (1 << position)) != 0; }
|
||||
bool get_bit(const uint8_t data, const uint8_t position) { return (data & (1 << position)) != 0; }
|
||||
|
||||
void HitachiClimate::set_checksum_() {
|
||||
uint8_t sum = 62;
|
||||
|
|
Loading…
Reference in a new issue