lcd4l: add wind dirction string to weather_wind file

Origin commit data
------------------
Branch: ni/coolstream
Commit: 107f2ad5ff
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-23 (Sun, 23 Jan 2022)

Origin message was:
------------------
- lcd4l: add wind dirction string to weather_wind file

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2022-01-23 23:59:08 +01:00
parent de20a1df65
commit 69464d4c52

View File

@@ -1145,10 +1145,12 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
std::string wwind = CWeather::getInstance()->getCurrentWindSpeed();
wwind += "|" + CWeather::getInstance()->getCurrentWindBearing();
wwind += "|" + CWeather::getInstance()->getCurrentWindDirection();
for (int i = 0; i < forecast; i++) // 0 is current day
{
wwind += "\n" + CWeather::getInstance()->getForecastWindSpeed(i);
wwind += "|" + CWeather::getInstance()->getForecastWindBearing(i);
wwind += "|" + CWeather::getInstance()->getForecastWindDirection(i);
}
if (m_wwind.compare(wwind))
{