mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
Typo
git-svn-id: https://svn.fhem.de/fhem/trunk@236 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5863f4445f
commit
4a2aa40f12
@ -36,10 +36,10 @@ CUL_EM_Define($$)
|
||||
|
||||
$hash->{CODE} = $a[2];
|
||||
if($a[2] >= 1 && $a[2] <= 4) { # EMWZ: nRotation in 5 minutes
|
||||
my $c = (int(@a) > 3 ? 150 : $a[3]);
|
||||
my $c = (int(@a) > 3 ? $a[3] : 150);
|
||||
$hash->{corr} = (12/$c);
|
||||
} elsif($a[2] >= 5 && $a[2] <= 8) { # EMEM: 0.01
|
||||
$hash->{corr} = (int(@a) > 3 ? 0.01 : $a[3]);
|
||||
$hash->{corr} = (int(@a) > 3 ? $a[3] : 0.01);
|
||||
} else {
|
||||
$hash->{corr} = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user