summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/BatteryInfo.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/BatteryInfo.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/BatteryInfo.cpp')
-rw-r--r--src/displayapp/screens/BatteryInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/BatteryInfo.cpp b/src/displayapp/screens/BatteryInfo.cpp
index 44ea7f51..e17de9ab 100644
--- a/src/displayapp/screens/BatteryInfo.cpp
+++ b/src/displayapp/screens/BatteryInfo.cpp
@@ -1,5 +1,5 @@
-#include "BatteryInfo.h"
-#include "../DisplayApp.h"
+#include "displayapp/screens/BatteryInfo.h"
+#include "displayapp/DisplayApp.h"
#include "components/battery/BatteryController.h"
using namespace Pinetime::Applications::Screens;