mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
Trying to fix static analyzer complaints
This commit is contained in:
parent
fdc7f59465
commit
ea3fca4b99
@ -34,7 +34,7 @@ void VornadoIR::send_decrease() {
|
||||
this->transmit_(VORNADO_IR_DECREASE_TIMINGS);
|
||||
}
|
||||
|
||||
void VornadoIR::transmit_(RawTimings ir_code) {
|
||||
void VornadoIR::transmit_(const RawTimings &ir_code) {
|
||||
ESP_LOGD(TAG, "Sending ir_code");
|
||||
auto transmit = this->transmitter_->transmit();
|
||||
ESP_LOGD(TAG, "Sending ir_code got transmitter");
|
||||
|
@ -17,7 +17,7 @@ class VornadoIR : public Component, public remote_base::RemoteTransmittable {
|
||||
void loop() override;
|
||||
void dump_config() override;
|
||||
// general functions
|
||||
void transmit_(RawTimings ir_code);
|
||||
void transmit_(const RawTimings &ir_code);
|
||||
// direct actions
|
||||
void send_power_toggle();
|
||||
void send_change_direction();
|
||||
|
Loading…
x
Reference in New Issue
Block a user