We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f48d1 commit fc5c6f4Copy full SHA for fc5c6f4
m5stack/libs/driver/bme68x.py
@@ -560,7 +560,7 @@ def _read_field_data(self, index) -> BME68xData:
560
if self._variant_id == 0x01:
561
gas_resistance = self.calc_gas_resistance_high(adc_gas_res_high, gas_range_h)
562
else:
563
- gas_resistance = self.calc_gas_resistance_high(adc_gas_res_low, gas_range_l)
+ gas_resistance = self.calc_gas_resistance_low(adc_gas_res_low, gas_range_l)
564
565
self._sensor_data[0].status = status
566
self._sensor_data[0].gas_index = gas_index
0 commit comments