70_STV.pm: add sleep(1) with if case...

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9842 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
bentele
2015-11-10 16:45:39 +00:00
parent 8729ee574f
commit 52880d8a0c

View File

@@ -333,6 +333,7 @@ sub STV_55000($$$)
} }
else { else {
foreach my $argnum (0 .. $#ARGV) { foreach my $argnum (0 .. $#ARGV) {
sleep(1) if ($argnum > 0);
# Send remote key(s) # Send remote key(s)
#Log4 $name, 4, "[STV] sending ".uc($ARGV[$argnum]); #Log4 $name, 4, "[STV] sending ".uc($ARGV[$argnum]);
my $key = "KEY_" . uc($ARGV[$argnum]); my $key = "KEY_" . uc($ARGV[$argnum]);