mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fix calibration parameter for bme680 humidity calculation (#3069)
This commit is contained in:
parent
434ab65c16
commit
172507acb5
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ void BME680Component::setup() {
|
|||
this->calibration_.t3 = cal1[3];
|
||||
|
||||
this->calibration_.h1 = cal2[2] << 4 | (cal2[1] & 0x0F);
|
||||
this->calibration_.h2 = cal2[0] << 4 | cal2[1];
|
||||
this->calibration_.h2 = cal2[0] << 4 | cal2[1] >> 4;
|
||||
this->calibration_.h3 = cal2[3];
|
||||
this->calibration_.h4 = cal2[4];
|
||||
this->calibration_.h5 = cal2[5];
|
||||
|
|
Loading…
Reference in a new issue