statusweather: initialize struct with 0°K and exclamation point.
This commit is contained in:
parent
3cad575f7c
commit
0ee6bcb625
|
@ -33,9 +33,9 @@
|
||||||
|
|
||||||
struct weather
|
struct weather
|
||||||
{
|
{
|
||||||
float temperature{0.0};
|
float temperature{-273.15};
|
||||||
std::string icon;
|
std::string icon{"❗"};
|
||||||
} __attribute__((aligned(64))) weather;
|
} __attribute__((aligned(64))) weather; // NOLINT(cert-err58-cpp)
|
||||||
std::mutex mutex_weather;
|
std::mutex mutex_weather;
|
||||||
|
|
||||||
std::string map_icon(const std::string_view icon_id)
|
std::string map_icon(const std::string_view icon_id)
|
||||||
|
|
Loading…
Reference in New Issue