mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user