mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
36_LaCrosse.pm: fixed perl warning „Use of uninitialized value $dewpoint …“
git-svn-id: https://svn.fhem.de/fhem/trunk@13301 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
217672646c
commit
f6daff8921
@ -463,7 +463,7 @@ sub LaCrosse_Parse($$) {
|
||||
if ($humidity && $humidity <= 100) {
|
||||
readingsBulkUpdate($rhash, "humidity$channel", $humidity);
|
||||
}
|
||||
if ($dewpoint != 0xFFFF) {
|
||||
if ($dewpoint) {
|
||||
readingsBulkUpdate($rhash, "dewpoint$channel", $dewpoint);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user