mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Trying to fix static analyzer complaints
This commit is contained in:
		| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user