summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Gauge.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2020-10-04 11:53:11 (GMT)
committerAvamander <avamander@gmail.com>2020-10-04 11:53:11 (GMT)
commit13da1e38f019ef8989df1423164bd080768a7e04 (patch)
treec3109d8e779d4f0ff18cb108f010b2bd88fdd98f /src/displayapp/screens/Gauge.cpp
parente4f0a95af8ce6cfb71602c5f5e437ab68dd582ec (diff)
Switched from NULL to nullptr
Diffstat (limited to 'src/displayapp/screens/Gauge.cpp')
-rw-r--r--src/displayapp/screens/Gauge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/Gauge.cpp b/src/displayapp/screens/Gauge.cpp
index fd90523..81c283c 100644
--- a/src/displayapp/screens/Gauge.cpp
+++ b/src/displayapp/screens/Gauge.cpp
@@ -25,11 +25,11 @@ Gauge::Gauge(Pinetime::Applications::DisplayApp *app) : Screen(app) {
needle_colors[0] = LV_COLOR_ORANGE;
/*Create a gauge*/
- gauge1 = lv_gauge_create(lv_scr_act(), NULL);
+ gauge1 = lv_gauge_create(lv_scr_act(), nullptr);
lv_gauge_set_style(gauge1, LV_GAUGE_STYLE_MAIN, &style);
lv_gauge_set_needle_count(gauge1, 1, needle_colors);
lv_obj_set_size(gauge1, 180, 180);
- lv_obj_align(gauge1, NULL, LV_ALIGN_CENTER, 0, 0);
+ lv_obj_align(gauge1, nullptr, LV_ALIGN_CENTER, 0, 0);
lv_gauge_set_scale(gauge1, 360, 60, 0);
lv_gauge_set_range(gauge1, 0, 59);