correction 50 should be not in regexp for TRX_ELSE

git-svn-id: https://svn.fhem.de/fhem/trunk@2820 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
wherzig
2013-02-26 23:12:25 +00:00
parent 2b88647228
commit fabe572563
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ TRX_Initialize($)
"1:TRX_WEATHER" => "^..(50|51|52|54|55|56|57|5a|5d).*", "1:TRX_WEATHER" => "^..(50|51|52|54|55|56|57|5a|5d).*",
"2:TRX_SECURITY" => "^..(20).*", "2:TRX_SECURITY" => "^..(20).*",
"3:TRX_LIGHT" => "^..(10|11|12|13).*", "3:TRX_LIGHT" => "^..(10|11|12|13).*",
"4:TRX_ELSE" => "^..(0[0-f]|1[4-f]|2[1-f]|3[0-f]|4[0-f]|50|53|58|59|5b|5c|5e|5f|[6-f][0-f]).*", "4:TRX_ELSE" => "^..(0[0-f]|1[4-f]|2[1-f]|3[0-f]|4[0-f]|53|58|59|5b|5c|5e|5f|[6-f][0-f]).*",
); );
$hash->{MatchList} = \%mc; $hash->{MatchList} = \%mc;

View File

@@ -44,7 +44,7 @@ TRX_ELSE_Initialize($)
{ {
my ($hash) = @_; my ($hash) = @_;
$hash->{Match} = "^..(0[0-f]|1[4-f]|2[1-f]|3[0-f]|4[0-f]|50|53|58|59|5b|5c|5e|5f|[6-f][0-f]).*"; $hash->{Match} = "^..(0[0-f]|1[4-f]|2[1-f]|3[0-f]|4[0-f]|53|58|59|5b|5c|5e|5f|[6-f][0-f]).*";
$hash->{DefFn} = "TRX_ELSE_Define"; $hash->{DefFn} = "TRX_ELSE_Define";
$hash->{UndefFn} = "TRX_ELSE_Undef"; $hash->{UndefFn} = "TRX_ELSE_Undef";
$hash->{ParseFn} = "TRX_ELSE_Parse"; $hash->{ParseFn} = "TRX_ELSE_Parse";