2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

51_I2C_BMP180.pm: bugfix for oversampling

git-svn-id: https://svn.fhem.de/fhem/trunk@9288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
klauswitt 2015-09-22 20:37:43 +00:00
parent 73cb769f4b
commit 768743cf4e

View File

@ -139,7 +139,7 @@ sub I2C_BMP180_Init($$) {
return $msg;
}
}
if (AttrVal($name, '', '?') eq '?') {
if (AttrVal($name, 'oversampling_settings', '?') eq '?') {
$msg = CommandAttr(undef, $name . ' oversampling_settings 3');
if ($msg) {
Log3 ($hash, 1, $msg);