2
0
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:
HCS 2017-02-01 18:21:32 +00:00
parent 217672646c
commit f6daff8921

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