From 0ee6bcb6253cbee010fdacbea32cba720a6c4d19 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 23 Aug 2021 17:01:56 +0200 Subject: [PATCH] =?UTF-8?q?statusweather:=20initialize=20struct=20with=200?= =?UTF-8?q?=C2=B0K=20and=20exclamation=20point.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- statusweather.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/statusweather.cpp b/statusweather.cpp index 8804342..9720f4b 100644 --- a/statusweather.cpp +++ b/statusweather.cpp @@ -33,9 +33,9 @@ struct weather { - float temperature{0.0}; - std::string icon; -} __attribute__((aligned(64))) weather; + float temperature{-273.15}; + std::string icon{"❗"}; +} __attribute__((aligned(64))) weather; // NOLINT(cert-err58-cpp) std::mutex mutex_weather; std::string map_icon(const std::string_view icon_id)