51_I2C_BMP180.pm: bugfix for oversampling
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user