mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 23:21:54 +00:00 
			
		
		
		
	[bme680] Eliminate warnings due to unused functions (#9735)
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
		| @@ -28,7 +28,7 @@ const float BME680_GAS_LOOKUP_TABLE_1[16] PROGMEM = {0.0, 0.0, 0.0,  0.0,  0.0, | |||||||
| const float BME680_GAS_LOOKUP_TABLE_2[16] PROGMEM = {0.0,  0.0, 0.0, 0.0, 0.1, 0.7, 0.0, -0.8, | const float BME680_GAS_LOOKUP_TABLE_2[16] PROGMEM = {0.0,  0.0, 0.0, 0.0, 0.1, 0.7, 0.0, -0.8, | ||||||
|                                                      -0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; |                                                      -0.1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; | ||||||
|  |  | ||||||
| static const char *oversampling_to_str(BME680Oversampling oversampling) { | [[maybe_unused]] static const char *oversampling_to_str(BME680Oversampling oversampling) { | ||||||
|   switch (oversampling) { |   switch (oversampling) { | ||||||
|     case BME680_OVERSAMPLING_NONE: |     case BME680_OVERSAMPLING_NONE: | ||||||
|       return "None"; |       return "None"; | ||||||
| @@ -47,7 +47,7 @@ static const char *oversampling_to_str(BME680Oversampling oversampling) { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
| static const char *iir_filter_to_str(BME680IIRFilter filter) { | [[maybe_unused]] static const char *iir_filter_to_str(BME680IIRFilter filter) { | ||||||
|   switch (filter) { |   switch (filter) { | ||||||
|     case BME680_IIR_FILTER_OFF: |     case BME680_IIR_FILTER_OFF: | ||||||
|       return "OFF"; |       return "OFF"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user