Skip to content

Commit

Permalink
00_SIGNALduino.pm
Browse files Browse the repository at this point in the history
fixed perl warning #156

14_SD_RSL.pm
fixed perl warning
  • Loading branch information
sidey79 committed Mar 31, 2018
1 parent f9ca867 commit 4467576
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions FHEM/00_SIGNALduino.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4229,8 +4229,12 @@ sub SIGNALduino_callsub
#SIGNALduino_Log3 $name, 5, "$name: value bevore $funcname: @args";

my ($rcode, @returnvalues) = $method->($name, @args) ;

SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";

if (@returnvalues) {
SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, modified value after $funcname: @returnvalues";
} else {
SIGNALduino_Log3 $name, 5, "$name: rcode=$rcode, after calling $funcname";
}
return ($rcode, @returnvalues);
} elsif (defined $method ) {
SIGNALduino_Log3 $name, 5, "$name: Error: Unknown method $funcname Please check definition";
Expand Down
4 changes: 2 additions & 2 deletions FHEM/14_SD_RSL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ sub SD_RSL_Attr(@)
my $hash = $defs{$a[1]};
my $iohash = $defs{$a[3]};
my $cde = $hash->{DEF};
delete($modules{SIGNALduino_FA20RF}{defptr}{$cde});
$modules{SIGNALduino_FA20RF}{defptr}{$iohash->{NAME} . "." . $cde} = $hash;
delete($modules{SD_RSL}{defptr}{$cde});
$modules{SD_RSL}{defptr}{$iohash->{NAME} . "." . $cde} = $hash;
return undef;
}

Expand Down
4 changes: 2 additions & 2 deletions controls_signalduino.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ MOV FHEM/firmware/SIGNALduino_nano328.hex unused
MOV FHEM/firmware/SIGNALduino_nanoCC1101.hex unused
MOV FHEM/firmware/SIGNALduino_promini328.hex unused
MOV FHEM/firmware/SIGNALduino_uno.hex unused
UPD 2017_11_18_22:13:22 10017 FHEM/14_SD_RSL.pm
UPD 2017_11_18_22:13:22 10064 FHEM/14_SD_AS.pm
UPD 2017_11_18_22:13:22 10111 FHEM/14_BresserTemeo.pm
UPD 2017_11_18_22:13:22 14541 FHEM/10_FS10.pm
Expand All @@ -27,4 +26,5 @@ UPD 2018_03_31_22:24:20 4574 FHEM/14_SD_UT.pm
UPD 2018_03_31_22:24:20 49906 FHEM/firmware/SIGNALduino_nano328.hex
UPD 2018_03_31_22:24:20 49906 FHEM/firmware/SIGNALduino_promini328.hex
UPD 2018_03_31_22:24:20 49906 FHEM/firmware/SIGNALduino_uno.hex
UPD 2018_03_31_22:31:41 215325 FHEM/00_SIGNALduino.pm
UPD 2018_03_31_23:04:24 9993 FHEM/14_SD_RSL.pm
UPD 2018_03_31_23:05:38 215448 FHEM/00_SIGNALduino.pm

0 comments on commit 4467576

Please sign in to comment.