mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Trying to fix static analyzer complaints
This commit is contained in:
parent
fdc7f59465
commit
ea3fca4b99
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue