summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/PineTimeStyle.cpp
diff options
context:
space:
mode:
authorKieran Cawthray <kieranc@gmail.com>2021-06-23 20:14:34 (GMT)
committerKieran Cawthray <kieranc@gmail.com>2021-06-23 20:14:34 (GMT)
commit14721e8f1ef3fd8ebfe2bf870416c7f343f83936 (patch)
tree5f06c079048590e3e5b51e24b48459087685ecc8 /src/displayapp/screens/PineTimeStyle.cpp
parentc3f854ba65967631282a719743f68943f4c6c86f (diff)
Move static needle_colors array to member variable
Diffstat (limited to 'src/displayapp/screens/PineTimeStyle.cpp')
-rw-r--r--src/displayapp/screens/PineTimeStyle.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/displayapp/screens/PineTimeStyle.cpp b/src/displayapp/screens/PineTimeStyle.cpp
index 0dc4117..678099c 100644
--- a/src/displayapp/screens/PineTimeStyle.cpp
+++ b/src/displayapp/screens/PineTimeStyle.cpp
@@ -172,7 +172,6 @@ PineTimeStyle::PineTimeStyle(DisplayApp* app,
lv_obj_align(dateMonth, sidebar, LV_ALIGN_CENTER, 0, 32);
// Step count gauge
- static lv_color_t needle_colors[1];
needle_colors[0] = LV_COLOR_WHITE;
stepGauge = lv_gauge_create(lv_scr_act(), nullptr);
lv_gauge_set_needle_count(stepGauge, 1, needle_colors);