mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
98_Siro.pm:Fix programming mode - wrong number of command repetitions
git-svn-id: https://svn.fhem.de/fhem/trunk@19771 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
dafddd1a14
commit
9eb02f6a0e
@ -400,7 +400,8 @@ sub SendCommand($@) {
|
||||
|
||||
Log3( $name, 4,"Siro_sendCommand: args1 - $args[1]") if defined $args[1];
|
||||
|
||||
if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on"))
|
||||
#if ( (defined($args[1]) and $args[1] eq "longstop" )|| (defined $hash->{helper}{progmode} and $hash->{helper}{progmode} eq "on"))
|
||||
if ( (defined($args[1]) and $args[1] eq "longstop" ))
|
||||
{
|
||||
$SignalRepeats = AttrVal( $name, 'SIRO_signalLongStopRepeats', '15' );
|
||||
}
|
||||
@ -409,6 +410,8 @@ sub SendCommand($@) {
|
||||
$SignalRepeats = AttrVal( $name, 'SIRO_signalRepeats', '10' );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Log3( $name, 5,"Siro_sendCommand: repeats - $SignalRepeats");
|
||||
|
||||
$chan = AttrVal( $name, 'SIRO_send_channel', undef );
|
||||
|
Loading…
Reference in New Issue
Block a user