2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-05 02:19:31 +00:00

77_SMAEM.pm: contrib 3.5.0

git-svn-id: https://svn.fhem.de/fhem/trunk@20730 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-12-13 15:58:54 +00:00
parent 3ce0fa3da7
commit c6c78bbf94

View File

@ -314,7 +314,7 @@ sub SMAEM_Read ($) {
$hex =~ /.*90000000(.{6})5200000000$/; # Firmware Version extrahieren
if($1) {
my $fw = $1;
my $fw = hex($1);
$fw =~ s/^(.{2})(.{2})(.{2})/"$1.$2.$3"/e;
$hash->{FIRMWARE} = $fw;
}