Skip to content

Commit 075523a

Browse files
committed
DarkSky fixed possible wind-chill callsign issue
1 parent 4b5c80a commit 075523a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/DarkSky.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ void CDarkSky::GetMeterDetails()
325325
at10-=(tsen.WIND.temperatureh*256);
326326
tsen.WIND.temperaturel=(BYTE)(at10);
327327

328-
tsen.WIND.chillsign=(wind_temp>=0)?0:1;
328+
tsen.WIND.chillsign=(wind_chill>=0)?0:1;
329329
at10=round(std::abs(wind_chill*10.0f));
330330
tsen.WIND.chillh=(BYTE)(at10/256);
331331
at10-=(tsen.WIND.chillh*256);

0 commit comments

Comments
 (0)