mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
correcting next to return on error conditions
git-svn-id: https://svn.fhem.de/fhem/trunk@705 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2c44fafbba
commit
df2db9e44f
@ -632,14 +632,14 @@ OREGON_Parse($$)
|
||||
my $checksum = $rec->{checksum};
|
||||
if ($checksum && !$checksum->(\@rfxcom_data_array) ) {
|
||||
Log 3, "OREGON: ERROR: checksum error sensor_id=$sensor_id (bits=$bits)";
|
||||
next;
|
||||
return;
|
||||
}
|
||||
|
||||
my $method = $rec->{method};
|
||||
unless ($method) {
|
||||
Log 4, "OREGON: Possible message from Oregon part '$rec->{part}'";
|
||||
Log 4, "OREGON: sensor_id=$sensor_id (bits=$bits)";
|
||||
next;
|
||||
return;
|
||||
}
|
||||
|
||||
my @res;
|
||||
|
Loading…
Reference in New Issue
Block a user