mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
51_I2C_BMP180.pm: bugfix for oversampling
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9288 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d201806092
commit
69b9bd7d40
@ -139,7 +139,7 @@ sub I2C_BMP180_Init($$) {
|
|||||||
return $msg;
|
return $msg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (AttrVal($name, '', '?') eq '?') {
|
if (AttrVal($name, 'oversampling_settings', '?') eq '?') {
|
||||||
$msg = CommandAttr(undef, $name . ' oversampling_settings 3');
|
$msg = CommandAttr(undef, $name . ' oversampling_settings 3');
|
||||||
if ($msg) {
|
if ($msg) {
|
||||||
Log3 ($hash, 1, $msg);
|
Log3 ($hash, 1, $msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user