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:
HCS
2017-02-01 18:21:32 +00:00
parent e441b93bd9
commit c4775b4b9a

View File

@@ -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);
}