Skip to content

Commit

Permalink
Enable all weather info's by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Aug 10, 2024
1 parent ea6d21e commit 8f01c02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions lib/Views/src/IOpenWeatherView.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ class IOpenWeatherView
/** Weather info */
enum WeatherInfo : uint8_t
{
WEATHER_INFO_EMPTY = 0x00, /**< Nothing enabled. */
WEATHER_INFO_TEMPERATURE = 0x01, /**< Temperature */
WEATHER_INFO_HUMIDITY = 0x02, /**< Humidity */
WEATHER_INFO_WIND_SPEED = 0x04, /**< Wind speed */
WEATHER_INFO_UV_INDEX = 0x08 /**< UV-index */
WEATHER_INFO_EMPTY = 0x00U, /**< Nothing enabled. */
WEATHER_INFO_TEMPERATURE = 0x01U, /**< Temperature */
WEATHER_INFO_HUMIDITY = 0x02U, /**< Humidity */
WEATHER_INFO_WIND_SPEED = 0x04U, /**< Wind speed */
WEATHER_INFO_UV_INDEX = 0x08U, /**< UV-index */
WEATHER_INFO_ALL = 0x0FU /**< All weather information */
};

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/Views/src/layouts/OpenWeatherView32x8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ OpenWeatherView32x8::OpenWeatherView32x8() :
m_viewDurationTimer(),
m_viewDuration(0U),
m_units("metric"),
m_weatherInfo(),
m_weatherInfo(WEATHER_INFO_ALL),
m_weatherInfoId(0U),
m_weatherInfoCurrent(),
m_isWeatherInfoCurrentUpdated(false),
Expand Down
2 changes: 1 addition & 1 deletion lib/Views/src/layouts/OpenWeatherView64x64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ OpenWeatherView64x64::OpenWeatherView64x64() :
m_viewDurationTimer(),
m_viewDuration(0U),
m_units("metric"),
m_weatherInfo(),
m_weatherInfo(WEATHER_INFO_ALL),
m_weatherInfoId(0U),
m_weatherInfoCurrent(),
m_weatherInfoForecast{},
Expand Down

0 comments on commit 8f01c02

Please sign in to comment.