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

98_PID20 : fix in sub PID20_Set : wrong parameter, when calling PID20_Calc

git-svn-id: https://svn.fhem.de/fhem/trunk@6796 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
john99sr 2014-10-20 21:17:57 +00:00
parent a1403c432d
commit 0131623f9a

View File

@ -40,7 +40,8 @@
#
# 26.03.2014 (betateilchen)
# code review, pod added, removed old version info (will be provided via SVN)
# V 1.01
# 19.10.2014 fix in sub PID20_Set : wrong parameter $hash instead of $name, when calling PID20_Calc
####################################################################################################
package main;
use strict;
@ -355,7 +356,7 @@ sub PID20_Set($@)
return "Set stop needs a <value> parameter"
if ( @a != 2 );
$hash->{helper}{stopped} =1;
PID20_Calc($hash);
PID20_Calc($name);
}
when ("restart")
@ -377,7 +378,7 @@ sub PID20_Set($@)
when ("calc") # inofficial function, only for debugging purposes
{
PID20_Calc($hash);
PID20_Calc($name);
}
default