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.
This commit is contained in:
Reinhold Gschweicher
2021-10-13 22:08:35 +02:00
parent 624429b54c
commit ac7b2da611
140 changed files with 243 additions and 243 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
C++ port Copyright (C) 2021 Jean-François Milants
*/
#include "Biquad.h"
#include "components/heartrate/Biquad.h"
using namespace Pinetime::Controllers;
@@ -1,4 +1,4 @@
#include "HeartRateController.h"
#include "components/heartrate/HeartRateController.h"
#include <heartratetask/HeartRateTask.h>
#include <systemtask/SystemTask.h>
+1 -1
View File
@@ -6,7 +6,7 @@
#include <vector>
#include <nrf_log.h>
#include "Ppg.h"
#include "components/heartrate/Ppg.h"
using namespace Pinetime::Controllers;
/** Original implementation from wasp-os : https://github.com/daniel-thompson/wasp-os/blob/master/wasp/ppg.py */
+2 -2
View File
@@ -1,8 +1,8 @@
#pragma once
#include <array>
#include "Biquad.h"
#include "Ptagc.h"
#include "components/heartrate/Biquad.h"
#include "components/heartrate/Ptagc.h"
namespace Pinetime {
namespace Controllers {
+1 -1
View File
@@ -5,7 +5,7 @@
*/
#include <cmath>
#include "Ptagc.h"
#include "components/heartrate/Ptagc.h"
using namespace Pinetime::Controllers;