00_HMUARTLGW.pm: fix wrong format in log message

git-svn-id: https://svn.fhem.de/fhem/trunk@12867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgernoth 2016-12-23 10:16:30 +00:00
parent 91193a65b9
commit f8f70044dc

View File

@ -672,7 +672,7 @@ sub HMUARTLGW_UpdatePeerReq($;$) {
} elsif ($hash->{DevState} == HMUARTLGW_STATE_UPDATE_PEER_AES2) { } elsif ($hash->{DevState} == HMUARTLGW_STATE_UPDATE_PEER_AES2) {
if ($peer->{operation} eq "+" && defined($peer->{aesChannels})) { if ($peer->{operation} eq "+" && defined($peer->{aesChannels})) {
Log3($hash, 4, "HMUARTLGW ${name} AESchannels: " . sprintf("%08x", $peer->{aesChannels})); Log3($hash, 4, "HMUARTLGW ${name} AESchannels: " . $peer->{aesChannels});
my $offset = 0; my $offset = 0;
foreach my $c (unpack "(A2)*", $peer->{aesChannels}) { foreach my $c (unpack "(A2)*", $peer->{aesChannels}) {
$c = hex($c); $c = hex($c);