mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
52_I2C_BME280: Bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@11884 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0eb3983f9e
commit
2b4a1491cd
@ -172,7 +172,7 @@ sub I2C_BME280_Set($@) { # Messwerte manuell anfordern
|
||||
} else { #..but get calibration variables first
|
||||
Log3 $hash, 5, "$name: in set but no calibrationData, requesting again";
|
||||
I2C_BME280_i2cread($hash, 0x88, 26);
|
||||
I2C_BME280_i2cread($hash, 0xE1, 16);
|
||||
I2C_BME280_i2cread($hash, 0xE1, 8);
|
||||
}
|
||||
}
|
||||
return undef
|
||||
@ -194,7 +194,7 @@ sub I2C_BME280_Get($@) { # Messwerte manuell anfordern
|
||||
} else { #..but get calibration variables first
|
||||
Log3 $hash, 5, "$name: in set but no calibrationData, requesting again";
|
||||
I2C_BME280_i2cread($hash, 0x88, 26);
|
||||
I2C_BME280_i2cread($hash, 0xE1, 16);
|
||||
I2C_BME280_i2cread($hash, 0xE1, 8);
|
||||
}
|
||||
} else {
|
||||
return 'Unknown argument ' . $cmd . ', choose one of readValues:noArg';
|
||||
|
Loading…
Reference in New Issue
Block a user