diff --git a/WeatherBoard.py b/WeatherBoard.py index d4c746d..6d1c62b 100644 --- a/WeatherBoard.py +++ b/WeatherBoard.py @@ -469,8 +469,8 @@ def hex2int(s): if (config.OLED_Present): Scroll_SSD1306.addLineOLED(display, ("Wind Speed=\t%0.2f MPH")%(currentWindSpeed)) Scroll_SSD1306.addLineOLED(display, ("Rain Total=\t%0.2f in")%(totalRain)) - if (config.ADS1015_Present or config.ADS1115_Present): - Scroll_SSD1306.addLineOLED(display, "Wind Dir=%0.2f Degrees" % weatherStation.current_wind_direction()) + if (config.ADS1015_Present or config.ADS1115_Present): + Scroll_SSD1306.addLineOLED(display, "Wind Dir=%0.2f Degrees" % weatherStation.current_wind_direction()) print("MPH wind_gust=\t%0.2f MPH")%(currentWindGust) if (config.ADS1015_Present or config.ADS1115_Present):