mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix senseair flush input buffer wrong log level (#1194)
See also https://github.com/esphome/esphome/pull/1017/files
This commit is contained in:
		| @@ -24,11 +24,11 @@ void SenseAirComponent::update() { | |||||||
|  |  | ||||||
|     this->status_set_warning(); |     this->status_set_warning(); | ||||||
|     while (this->available()) { |     while (this->available()) { | ||||||
|       unsigned char b; |       uint8_t b; | ||||||
|       if (this->read_byte(&b)) { |       if (this->read_byte(&b)) { | ||||||
|         ESP_LOGD(TAG, "    ... %02x", b); |         ESP_LOGV(TAG, "    ... %02x", b); | ||||||
|       } else { |       } else { | ||||||
|         ESP_LOGD(TAG, "    ... nothing read"); |         ESP_LOGV(TAG, "    ... nothing read"); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|     return; |     return; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user