2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

correct Channel >10

git-svn-id: https://svn.fhem.de/fhem/trunk@3613 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-08-08 07:59:04 +00:00
parent f20c4fd5dc
commit 1b18a1c52d

View File

@ -2040,7 +2040,7 @@ sub CUL_HM_Set($@) {
$l2 =~ s/(.)/sprintf(" %02X:%02X",$s++,ord($1))/ge;
@a = ($a[0],"regBulk","RegL_01:",split(" ",$l1.$l2));
}
}
$cmd = $a[1];# get converted command
@ -2186,7 +2186,7 @@ sub CUL_HM_Set($@) {
return "wrong addr or data:".$ad if (hex($addr)>255 || hex($data)>255);
}
$chn = 0 if ($list == 0);
CUL_HM_pushConfig($hash,$id,$dst,$chn,$peerID,$peerChn,$list,$adList);
CUL_HM_pushConfig($hash,$id,$dst,hex($chn),$peerID,$peerChn,$list,$adList);
}
}
elsif($cmd eq "regSet") { ############################################### reg