Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into develop
  • Loading branch information
darmbrust committed Apr 22, 2020
2 parents 2b07334 + d8f29bf commit 2acd25b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ private Gauge buildQuarterWindGauge(String wllDeviceId, String sensorOutdoorId)
final Consumer<Void> updateTooltip = input ->
{
//This will give us a pulse, every read attempt. Don't actually care about the value.
if (currentWind.getTimeStamp() < (System.currentTimeMillis() - 6000))
if (currentWind.getTimeStamp() < (currentWind.getLocalTimeStamp() - 6000))
{
//More than 6 seconds out of date, missed at least 2 live data pulses.
gauge.setKnobColor(Color.BLACK);
Expand Down

0 comments on commit 2acd25b

Please sign in to comment.