mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
10_CUL_HM.pm: insert line-end to text
git-svn-id: https://svn.fhem.de/fhem/trunk@7273 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e8ee0ab928
commit
4eca3d15f5
@ -3240,12 +3240,12 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
|
||||
}
|
||||
my $s = 54;
|
||||
$l1 =~ s/\\_/ /g;
|
||||
$l1 = substr($l1."\x00", 0, 13);
|
||||
$l1 = substr($l1."\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0, 13);
|
||||
$l1 =~ s/(.)/sprintf(" %02X:%02X",$s++,ord($1))/ge;
|
||||
|
||||
$s = 70;
|
||||
$l2 =~ s/\\_/ /g;
|
||||
$l2 = substr($l2."\x00", 0, 13);
|
||||
$l2 = substr($l2."\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 0, 13);
|
||||
$l2 =~ s/(.)/sprintf(" %02X:%02X",$s++,ord($1))/ge;
|
||||
|
||||
@a = ($a[0],"regBulk","RegL_01:",split(" ",$l1.$l2));
|
||||
|
Loading…
Reference in New Issue
Block a user