Move up file header include to top

This commit is contained in:
Reinhold Gschweicher 2021-11-05 23:55:34 +01:00
parent 1b937a77b9
commit 241d36471d
9 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#include <nrf_log.h>
#include "components/ble/BatteryInformationService.h" #include "components/ble/BatteryInformationService.h"
#include <nrf_log.h>
#include "components/battery/BatteryController.h" #include "components/battery/BatteryController.h"
using namespace Pinetime::Controllers; using namespace Pinetime::Controllers;

View file

@ -4,9 +4,9 @@
C++ port Copyright (C) 2021 Jean-François Milants C++ port Copyright (C) 2021 Jean-François Milants
*/ */
#include "components/heartrate/Ppg.h"
#include <vector> #include <vector>
#include <nrf_log.h> #include <nrf_log.h>
#include "components/heartrate/Ppg.h"
using namespace Pinetime::Controllers; using namespace Pinetime::Controllers;
/** Original implementation from wasp-os : https://github.com/daniel-thompson/wasp-os/blob/master/wasp/ppg.py */ /** Original implementation from wasp-os : https://github.com/daniel-thompson/wasp-os/blob/master/wasp/ppg.py */

View file

@ -4,8 +4,8 @@
C++ port Copyright (C) 2021 Jean-François Milants C++ port Copyright (C) 2021 Jean-François Milants
*/ */
#include <cmath>
#include "components/heartrate/Ptagc.h" #include "components/heartrate/Ptagc.h"
#include <cmath>
using namespace Pinetime::Controllers; using namespace Pinetime::Controllers;

View file

@ -1,5 +1,5 @@
#include <cstdint>
#include "displayapp/screens/BatteryIcon.h" #include "displayapp/screens/BatteryIcon.h"
#include <cstdint>
#include "displayapp/screens/Symbols.h" #include "displayapp/screens/Symbols.h"
using namespace Pinetime::Applications::Screens; using namespace Pinetime::Applications::Screens;

View file

@ -1,5 +1,5 @@
#include <lvgl/lvgl.h>
#include "displayapp/screens/HeartRate.h" #include "displayapp/screens/HeartRate.h"
#include <lvgl/lvgl.h>
#include <components/heartrate/HeartRateController.h> #include <components/heartrate/HeartRateController.h>
#include "displayapp/DisplayApp.h" #include "displayapp/DisplayApp.h"

View file

@ -1,5 +1,5 @@
#include <lvgl/lvgl.h>
#include "displayapp/screens/Motion.h" #include "displayapp/screens/Motion.h"
#include <lvgl/lvgl.h>
#include "displayapp/DisplayApp.h" #include "displayapp/DisplayApp.h"
using namespace Pinetime::Applications::Screens; using namespace Pinetime::Applications::Screens;

View file

@ -1,5 +1,5 @@
#include <lvgl/lvgl.h>
#include "displayapp/screens/WatchFaceAnalog.h" #include "displayapp/screens/WatchFaceAnalog.h"
#include <lvgl/lvgl.h>
#include "displayapp/screens/BatteryIcon.h" #include "displayapp/screens/BatteryIcon.h"
#include "displayapp/screens/BleIcon.h" #include "displayapp/screens/BleIcon.h"
#include "displayapp/screens/Symbols.h" #include "displayapp/screens/Symbols.h"

View file

@ -1,6 +1,6 @@
#include "drivers/Bma421.h"
#include <libraries/delay/nrf_delay.h> #include <libraries/delay/nrf_delay.h>
#include <libraries/log/nrf_log.h> #include <libraries/log/nrf_log.h>
#include "drivers/Bma421.h"
#include "drivers/TwiMaster.h" #include "drivers/TwiMaster.h"
#include <drivers/Bma421_C/bma423.h> #include <drivers/Bma421_C/bma423.h>

View file

@ -4,9 +4,9 @@
C++ port Copyright (C) 2021 Jean-François Milants C++ port Copyright (C) 2021 Jean-François Milants
*/ */
#include "drivers/Hrs3300.h"
#include <algorithm> #include <algorithm>
#include <nrf_gpio.h> #include <nrf_gpio.h>
#include "drivers/Hrs3300.h"
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include <task.h> #include <task.h>