From f128b9b0b7cf98e49dcabf7eebe0729378e2086a Mon Sep 17 00:00:00 2001 From: furrtek Date: Fri, 10 Nov 2017 21:25:57 +0100 Subject: [PATCH] GCC array init bug workaround --- firmware/application/ui_jammer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/ui_jammer.hpp b/firmware/application/ui_jammer.hpp index 29d20bdc..448ec0a4 100644 --- a/firmware/application/ui_jammer.hpp +++ b/firmware/application/ui_jammer.hpp @@ -231,7 +231,7 @@ private: RangeView view_range_b { nav_ }; RangeView view_range_c { nav_ }; - std::array range_views { &view_range_a, &view_range_b, &view_range_c }; + std::array range_views { { &view_range_a, &view_range_b, &view_range_c } }; TabView tab_view { { "Range 1", Color::white(), range_views[0] },