From b10dbbf407722cc20088759ebad89dfe6783a082 Mon Sep 17 00:00:00 2001 From: Christian Hubmann Date: Tue, 6 Aug 2024 22:50:53 +0200 Subject: [PATCH] Replaced 'boolean' with 'bool' --- esphome/components/hitachi_ac224/hitachi_ac224.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/hitachi_ac224/hitachi_ac224.cpp b/esphome/components/hitachi_ac224/hitachi_ac224.cpp index 464987ec22..c3cd834952 100644 --- a/esphome/components/hitachi_ac224/hitachi_ac224.cpp +++ b/esphome/components/hitachi_ac224/hitachi_ac224.cpp @@ -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;