mirror of
https://github.com/esphome/esphome.git
synced 2025-03-01 00:08:15 +00:00
Remove unnecessary const from function declarations
This commit is contained in:
parent
6e62103acd
commit
a961788132
@ -188,18 +188,16 @@ class SamsungClimateIR : public climate_ir::ClimateIR {
|
||||
void transmit_state() override;
|
||||
|
||||
void send_();
|
||||
void set_swing_(const climate::ClimateSwingMode swing_mode);
|
||||
void set_mode_(const climate::ClimateMode climate_mode);
|
||||
void set_temp_(const uint8_t temp);
|
||||
void set_swing_(climate::ClimateSwingMode swing_mode);
|
||||
void set_mode_(climate::ClimateMode climate_mode);
|
||||
void set_temp_(uint8_t temp);
|
||||
void set_and_send_power_state_(const bool on);
|
||||
void set_fan_(const climate::ClimateFanMode fan_mode);
|
||||
void set_fan_(climate::ClimateFanMode fan_mode);
|
||||
|
||||
void checksum_();
|
||||
static uint8_t calc_section_checksum(const uint8_t *section);
|
||||
static uint16_t count_bits(const uint8_t *const start, const uint16_t length, const bool ones = true,
|
||||
const uint16_t init = 0);
|
||||
static uint16_t count_bits(const uint64_t data, const uint8_t length, const bool ones = true,
|
||||
const uint16_t init = 0);
|
||||
static uint16_t count_bits(uint8_t *start, uint16_t length, bool ones = true, uint16_t init = 0);
|
||||
static uint16_t count_bits(uint64_t data, uint8_t length, bool ones = true, uint16_t init = 0);
|
||||
};
|
||||
} // namespace climate_ir_samsung
|
||||
} // namespace esphome
|
||||
|
Loading…
x
Reference in New Issue
Block a user