mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	SGP40 - Reduce delay in measurement (#2996)
This commit is contained in:
		| @@ -211,7 +211,7 @@ uint16_t SGP40Component::measure_raw_() { | |||||||
|     ESP_LOGD(TAG, "write error"); |     ESP_LOGD(TAG, "write error"); | ||||||
|     return UINT16_MAX; |     return UINT16_MAX; | ||||||
|   } |   } | ||||||
|   delay(250);  // NOLINT |   delay(30); | ||||||
|   uint16_t raw_data[1]; |   uint16_t raw_data[1]; | ||||||
|  |  | ||||||
|   if (!this->read_data_(raw_data, 1)) { |   if (!this->read_data_(raw_data, 1)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user