summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorReinhold Gschweicher <pyro4hell@gmail.com>2021-11-05 23:55:34 +0100
committerReinhold Gschweicher <pyro4hell@gmail.com>2021-11-15 22:02:49 +0100
commit241d36471daaea03215c289f3dc2bdc2860b5053 (patch)
tree5b404f888c635bb08a66014be3ad5729ca4e3e74 /src/components
parent1b937a77b981557015a614c7b806f8ddf62c614e (diff)
Move up file header include to top
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ble/BatteryInformationService.cpp2
-rw-r--r--src/components/heartrate/Ppg.cpp2
-rw-r--r--src/components/heartrate/Ptagc.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ble/BatteryInformationService.cpp b/src/components/ble/BatteryInformationService.cpp
index b95a88d9..9a3f86f5 100644
--- a/src/components/ble/BatteryInformationService.cpp
+++ b/src/components/ble/BatteryInformationService.cpp
@@ -1,5 +1,5 @@
-#include <nrf_log.h>
#include "components/ble/BatteryInformationService.h"
+#include <nrf_log.h>
#include "components/battery/BatteryController.h"
using namespace Pinetime::Controllers;
diff --git a/src/components/heartrate/Ppg.cpp b/src/components/heartrate/Ppg.cpp
index c247d1f6..a5d83696 100644
--- a/src/components/heartrate/Ppg.cpp
+++ b/src/components/heartrate/Ppg.cpp
@@ -4,9 +4,9 @@
C++ port Copyright (C) 2021 Jean-François Milants
*/
+#include "components/heartrate/Ppg.h"
#include <vector>
#include <nrf_log.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 */
diff --git a/src/components/heartrate/Ptagc.cpp b/src/components/heartrate/Ptagc.cpp
index db496a15..1c60bc23 100644
--- a/src/components/heartrate/Ptagc.cpp
+++ b/src/components/heartrate/Ptagc.cpp
@@ -4,8 +4,8 @@
C++ port Copyright (C) 2021 Jean-François Milants
*/
-#include <cmath>
#include "components/heartrate/Ptagc.h"
+#include <cmath>
using namespace Pinetime::Controllers;