summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/HeartRate.cpp
diff options
context:
space:
mode:
authorReinhold Gschweicher <pyro4hell@gmail.com>2021-10-13 22:08:35 +0200
committerReinhold Gschweicher <pyro4hell@gmail.com>2021-11-15 22:02:49 +0100
commitac7b2da611fa5ef4cc989a9feb027f66c0ebfc6c (patch)
tree15a03dd3349eae42628f657790482c45eaedd509 /src/displayapp/screens/HeartRate.cpp
parent624429b54c1819d58b69a2f74f5c852e1ecb0ed3 (diff)
Update includes to to be relative to src directory
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
Diffstat (limited to 'src/displayapp/screens/HeartRate.cpp')
-rw-r--r--src/displayapp/screens/HeartRate.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/displayapp/screens/HeartRate.cpp b/src/displayapp/screens/HeartRate.cpp
index b6ece27f..65d1aa2f 100644
--- a/src/displayapp/screens/HeartRate.cpp
+++ b/src/displayapp/screens/HeartRate.cpp
@@ -1,8 +1,8 @@
-#include <libs/lvgl/lvgl.h>
-#include "HeartRate.h"
+#include <lvgl/lvgl.h>
+#include "displayapp/screens/HeartRate.h"
#include <components/heartrate/HeartRateController.h>
-#include "../DisplayApp.h"
+#include "displayapp/DisplayApp.h"
using namespace Pinetime::Applications::Screens;